File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -68,18 +68,19 @@ if (project.findProject(BuildUtils.getTestProjectPath(project.gradle)) != null &
6868 }
6969}
7070
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 {
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 {
8078 " **commons-math3-**.jar"
8179 }
8280 }
83- )
81+ copy. setGroup(" Build" )
82+ copy. setDescription(" Copy commons-math3 JAR to module's lib directory" )
83+ }
8484
85- project. tasks. processModuleResources. dependsOn(project. tasks. copyJars)
85+ project. tasks. module. dependsOn(project. tasks. copyJars)
86+ project. tasks. copyJars. mustRunAfter(project. tasks. populateExplodedLib)
You can’t perform that action at this time.
0 commit comments