Skip to content

Commit c2fe35c

Browse files
committed
Restore original gradle task style and depend on tasks present in 21.3 and develop
1 parent ad1ef22 commit c2fe35c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

SequenceAnalysis/build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ if (project.findProject(BuildUtils.getTestProjectPath(project.gradle)) != null &
6868
}
6969
}
7070

71-
project.tasks.register("copyJars", Copy) {
72-
Copy copy ->
73-
{ CopySpec copySpec ->
74-
copySpec.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE)
75-
copySpec.from(project.configurations.external)
76-
copySpec.into new File("${project.labkey.explodedModuleLibDir}")
77-
copySpec.include {
71+
project.task("copyJars",
72+
type: Copy,
73+
group: "Build",
74+
description: "Copy commons-math3 JAR to module's lib directory",
75+
{ CopySpec copy ->
76+
copy.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE)
77+
copy.from(project.configurations.external)
78+
copy.into new File("${project.labkey.explodedModuleLibDir}")
79+
copy.include {
7880
"**commons-math3-**.jar"
7981
}
8082
}
81-
copy.setGroup("Build")
82-
copy.setDescription("Copy commons-math3 JAR to module's lib directory")
83-
}
83+
)
8484

8585
project.tasks.module.dependsOn(project.tasks.copyJars)
86-
project.tasks.copyJars.mustRunAfter(project.tasks.processResources)
86+
project.tasks.copyJars.mustRunAfter(project.tasks.processModuleResources)

0 commit comments

Comments
 (0)