|
|
@ -17,7 +17,7 @@ def srcDir="." |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
task unJar{ |
|
|
|
task unJar{ |
|
|
|
ant{ |
|
|
|
ant{ |
|
|
|
delete(dir:"build") |
|
|
|
delete(dir:"build") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -30,8 +30,9 @@ sourceSets{ |
|
|
|
srcDirs=[ |
|
|
|
srcDirs=[ |
|
|
|
"${srcDir}/fine-poi/src", |
|
|
|
"${srcDir}/fine-poi/src", |
|
|
|
"${srcDir}/fine-quartz/src", |
|
|
|
"${srcDir}/fine-quartz/src", |
|
|
|
"${srcDir}/fine-commons-io/src" |
|
|
|
"${srcDir}/fine-commons-io/src", |
|
|
|
] |
|
|
|
"${srcDir}/fine-commons-fileupload/src" |
|
|
|
|
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -40,7 +41,7 @@ sourceSets{ |
|
|
|
sourceSets.main.output.classesDir = file('build/classes/1') |
|
|
|
sourceSets.main.output.classesDir = file('build/classes/1') |
|
|
|
repositories{ |
|
|
|
repositories{ |
|
|
|
mavenCentral() |
|
|
|
mavenCentral() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取什么分支名 |
|
|
|
//获取什么分支名 |
|
|
|
FileTree files =fileTree(dir:'./',include:'build.*.gradle') |
|
|
|
FileTree files =fileTree(dir:'./',include:'build.*.gradle') |
|
|
@ -75,6 +76,7 @@ task copyFiles(type:Copy,dependsOn:'compileJava'){ |
|
|
|
with dataContent.call("${srcDir}/fine-poi/src") |
|
|
|
with dataContent.call("${srcDir}/fine-poi/src") |
|
|
|
with dataContent.call("${srcDir}/fine-quartz/src") |
|
|
|
with dataContent.call("${srcDir}/fine-quartz/src") |
|
|
|
with dataContent.call("${srcDir}/fine-commons-io/src") |
|
|
|
with dataContent.call("${srcDir}/fine-commons-io/src") |
|
|
|
|
|
|
|
with dataContent.call("${srcDir}/fine-commons-fileupload/src") |
|
|
|
into "${classesDir}" |
|
|
|
into "${classesDir}" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|