@ -98,11 +98,14 @@ def MVN_BRANCH = branchVariable.toUpperCase()
configurations {
configurations {
essential
essential
cbb
}
}
// 指 定 依 赖
// 指 定 依 赖
dependencies {
dependencies {
essential 'com.fr.essential:fine-essential:0.1-RELEASE-SNAPSHOT'
essential 'com.fr.essential:fine-essential:0.1-RELEASE-SNAPSHOT'
// TODO 先 适 配 fine - scheduler
cbb 'com.fr.cbb:fine-scheduler:0.1-RELEASE-SNAPSHOT'
compile fileTree ( dir: "${srcDir}/fine-antlr4/lib" , include: '**/*.jar' )
compile fileTree ( dir: "${srcDir}/fine-antlr4/lib" , include: '**/*.jar' )
compile fileTree ( dir: "${srcDir}/fine-aspectj/lib" , include: '**/*.jar' )
compile fileTree ( dir: "${srcDir}/fine-aspectj/lib" , include: '**/*.jar' )
compile fileTree ( dir: "${srcDir}/fine-commons-logging/lib" , include: '**/*.jar' )
compile fileTree ( dir: "${srcDir}/fine-commons-logging/lib" , include: '**/*.jar' )
@ -136,6 +139,11 @@ task copyEssential(type: Copy) {
from configurations . essential
from configurations . essential
}
}
task copyEssential ( type: Copy ) {
into "build/libs"
from configurations . cbb
}
task copyFiles ( type: Copy , dependsOn: 'compileJava' ) {
task copyFiles ( type: Copy , dependsOn: 'compileJava' ) {
copy {
copy {
println "------------------------------------------------copyfiles"
println "------------------------------------------------copyfiles"
@ -212,5 +220,6 @@ task copyFiles(type:Copy,dependsOn:'compileJava'){
}
}
copyFiles . dependsOn copyEssential
copyFiles . dependsOn copyEssential
copyFiles . dependsOn copyCBB
jar . dependsOn copyFiles
jar . dependsOn copyFiles