|
|
@ -71,26 +71,16 @@ configurations { |
|
|
|
essential |
|
|
|
essential |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 主体代码与CBB的对应关系 |
|
|
|
// 主体代码与essential的对应关系配置在TeamCity |
|
|
|
String essentialBranch |
|
|
|
String essentialVersion = findProperty("essentialVersion") |
|
|
|
switch (branchNameUpperCase) { |
|
|
|
String cbbVersion = findProperty("cbbVersion") |
|
|
|
case "FEATURE": |
|
|
|
|
|
|
|
case "RESEARCH": |
|
|
|
|
|
|
|
essentialBranch = "FEATURE" |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
case "RELEASE": |
|
|
|
|
|
|
|
case "BUGFIX": |
|
|
|
|
|
|
|
essentialBranch = "RELEASE" |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
essentialBranch = "MASTER" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//指定依赖 |
|
|
|
dependencies{ |
|
|
|
dependencies{ |
|
|
|
essential "com.fr.essential:fine-essential:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
essential "com.fr.essential:fine-essential:${essentialVersion}" |
|
|
|
essential "com.fr.cbb:fine-scheduler:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
essential "com.fr.cbb:fine-scheduler:${cbbVersion}" |
|
|
|
essential "com.fr.cbb:fine-function:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
essential "com.fr.cbb:fine-function:${cbbVersion}" |
|
|
|
essential "com.fr.cbb:fine-sql:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
essential "com.fr.cbb:fine-sql:${cbbVersion}" |
|
|
|
// thirdjar "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT" |
|
|
|
// thirdjar "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT" |
|
|
|
// sigar "com.fr.third:sigar:1.6.0" |
|
|
|
// sigar "com.fr.third:sigar:1.6.0" |
|
|
|
testCompile 'junit:junit:4.12' |
|
|
|
testCompile 'junit:junit:4.12' |
|
|
|