|
|
|
@ -53,24 +53,12 @@ if(indexV != -1){
|
|
|
|
|
version= branchName |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 主体代码与CBB的对应关系 |
|
|
|
|
String essentialBranch |
|
|
|
|
switch (version) { |
|
|
|
|
case "FEATURE": |
|
|
|
|
case "RESEARCH": |
|
|
|
|
essentialBranch = "FEATURE" |
|
|
|
|
break |
|
|
|
|
case "RELEASE": |
|
|
|
|
case "BUGFIX": |
|
|
|
|
essentialBranch = "RELEASE" |
|
|
|
|
break |
|
|
|
|
default: |
|
|
|
|
essentialBranch = "MASTER" |
|
|
|
|
} |
|
|
|
|
// 主体代码与essential的对应关系配置在TeamCity |
|
|
|
|
String essentialVersion = findProperty("essentialVersion") |
|
|
|
|
|
|
|
|
|
//指定依赖 |
|
|
|
|
dependencies{ |
|
|
|
|
compileOnly "com.fr.essential:fine-essential:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
|
compileOnly "com.fr.essential:fine-essential:${essentialVersion}" |
|
|
|
|
compile fileTree(dir:"${srcDir}/fine-ehcache/lib",include:'**/*.jar') |
|
|
|
|
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') |
|
|
|
|
compile fileTree(dir:System.getenv("JAVA_HOME"),include:"lib/tools.jar") |
|
|
|
|