Skip to content

Commit

Permalink
solve issue with cartridge descriptor (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-raab committed Feb 3, 2021
1 parent 554cd5c commit f36213d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ open class CartridgePlugin : Plugin<Project> {

project.tasks.withType(ProcessResources::class.java) {
it.dependsOn(taskWriteCartridgeDescriptor)
it.from(taskWriteCartridgeDescriptor.get().outputFile).into("META-INF/${project.name}")
it.from(taskWriteCartridgeDescriptor.get().outputFile) { cs ->
cs.into("META-INF/${project.name}")
}
}

if(project.hasProperty("classpath.file.enabled") && project.property("classpath.file.enabled") == "true") {
Expand Down

0 comments on commit f36213d

Please sign in to comment.