|
|
@ -19,10 +19,17 @@ def srcDir="." |
|
|
|
sourceSets{ |
|
|
|
sourceSets{ |
|
|
|
main{ |
|
|
|
main{ |
|
|
|
java{ |
|
|
|
java{ |
|
|
|
srcDirs=["${srcDir}/fine-druid/src", |
|
|
|
srcDirs=[ |
|
|
|
|
|
|
|
"${srcDir}/fine-jpa/src", |
|
|
|
|
|
|
|
"${srcDir}/fine-jboss-transaction-api/src", |
|
|
|
|
|
|
|
"${srcDir}/fine-jboss-logging/src", |
|
|
|
|
|
|
|
"${srcDir}/fine-classmate/src", |
|
|
|
|
|
|
|
"${srcDir}/fine-hibernate/src", |
|
|
|
|
|
|
|
"${srcDir}/fine-druid/src", |
|
|
|
"${srcDir}/fine-poi/src", |
|
|
|
"${srcDir}/fine-poi/src", |
|
|
|
"${srcDir}/fine-quartz/src", |
|
|
|
"${srcDir}/fine-quartz/src", |
|
|
|
"${srcDir}/fine-spring/src"] |
|
|
|
"${srcDir}/fine-spring/src" |
|
|
|
|
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -43,6 +50,8 @@ dependencies{ |
|
|
|
compile fileTree(dir:"${srcDir}/fine-poi/lib",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/fine-poi/lib",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/fine-quartz/lib",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/fine-quartz/lib",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/fine-spring/lib",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/fine-spring/lib",include:'**/*.jar') |
|
|
|
|
|
|
|
compile fileTree(dir:"${srcDir}/fine-jboss-logging/lib",include:'**/*.jar') |
|
|
|
|
|
|
|
compile fileTree(dir:"${srcDir}/fine-hibernate/lib",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"../../finereport-lib-base/${branchName}",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"../../finereport-lib-base/${branchName}",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') |
|
|
|
testCompile 'junit:junit:4.12' |
|
|
|
testCompile 'junit:junit:4.12' |
|
|
@ -92,6 +101,11 @@ def dataContent ={def dir -> |
|
|
|
task copyFiles(type:Copy,dependsOn:'compileJava'){ |
|
|
|
task copyFiles(type:Copy,dependsOn:'compileJava'){ |
|
|
|
copy{ |
|
|
|
copy{ |
|
|
|
println "------------------------------------------------copyfiles" |
|
|
|
println "------------------------------------------------copyfiles" |
|
|
|
|
|
|
|
with dataContent.call("${srcDir}/fine-jpa/src") |
|
|
|
|
|
|
|
with dataContent.call("${srcDir}/fine-jboss-transaction-api/src") |
|
|
|
|
|
|
|
with dataContent.call("${srcDir}/fine-jboss-logging/src") |
|
|
|
|
|
|
|
with dataContent.call("${srcDir}/fine-classmate/src") |
|
|
|
|
|
|
|
with dataContent.call("${srcDir}/fine-hibernate/src") |
|
|
|
with dataContent.call("${srcDir}/fine-druid/src") |
|
|
|
with dataContent.call("${srcDir}/fine-druid/src") |
|
|
|
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") |
|
|
|