File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ project.tasks.register("transformJar", Jar)
3434 jar. description = " Create the genetics transform jar file"
3535 jar. from project. sourceSets. transform. output
3636 jar. from { configurations. transformJars. collect { it. isDirectory() ? it : zipTree(it) }}
37- jar. duplicatesStrategy( DuplicatesStrategy . EXCLUDE )
37+ jar. duplicatesStrategy = DuplicatesStrategy . EXCLUDE
3838 jar. archiveBaseName. set(" GeneticsTransform" )
3939 jar. destinationDirectory. set(project. layout. buildDirectory. file(" artifacts/snprc" ). get(). asFile)
4040 }
Original file line number Diff line number Diff line change @@ -33,15 +33,13 @@ project.tasks.register("transformJar", Jar)
3333 jar. from { configurations. transformJars. collect { it. isDirectory() ? it : zipTree(it) }}
3434 jar. archiveBaseName. set(" MicrobiomeTransform" )
3535 jar. archiveClassifier. set(" transform" )
36- jar. duplicatesStrategy( DuplicatesStrategy . EXCLUDE )
36+ jar. duplicatesStrategy = DuplicatesStrategy . EXCLUDE
3737 jar. destinationDirectory. set(BuildUtils . getBuildDirFile(project, " artifacts/snprc" ))
3838 jar. manifest {
3939 attributes " Main-Class" : " MicrobiomeTransform"
4040 }
4141 }
4242
43- project. artifacts {
44- archives project. tasks. transformJar
45- }
43+ project. tasks. assemble. dependsOn(project. tasks. transformJar)
4644
4745project. tasks. named(' module' ). configure { dependsOn(project. tasks. transformJar) }
You can’t perform that action at this time.
0 commit comments