|
|
@ -46,6 +46,7 @@ repositories{ |
|
|
|
FileTree files =fileTree(dir:'./',include:'build.*.gradle') |
|
|
|
FileTree files =fileTree(dir:'./',include:'build.*.gradle') |
|
|
|
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) |
|
|
|
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) |
|
|
|
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) |
|
|
|
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) |
|
|
|
|
|
|
|
def MVN_BRANCH = branchVariable.toUpperCase() |
|
|
|
|
|
|
|
|
|
|
|
//指定依赖 |
|
|
|
//指定依赖 |
|
|
|
dependencies{ |
|
|
|
dependencies{ |
|
|
@ -55,7 +56,7 @@ dependencies{ |
|
|
|
compile fileTree(dir:"${srcDir}/fine-antlr4/lib",include: '**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/fine-antlr4/lib",include: '**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') |
|
|
|
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') |
|
|
|
// @branch - 分支信息 |
|
|
|
// @branch - 分支信息 |
|
|
|
compile "com.fr.third:fine-third:10.0-FINAL-SNAPSHOT" |
|
|
|
compile "com.fr.third:fine-third:10.0-${MVN_BRANCH}-SNAPSHOT" |
|
|
|
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' |
|
|
|
} |
|
|
|
} |
|
|
|