|
|
|
@ -71,8 +71,21 @@ configurations {
|
|
|
|
|
essential |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// third的feature对应essential和cbb的release,其他对应master |
|
|
|
|
String essentialBranch = branchNameUpperCase == 'FEATURE' ? 'RELEASE' : 'MASTER' |
|
|
|
|
// 主体代码与CBB的对应关系 |
|
|
|
|
String essentialBranch |
|
|
|
|
switch (branchNameUpperCase) { |
|
|
|
|
case "FEATURE": |
|
|
|
|
case "RESEARCH": |
|
|
|
|
essentialBranch = "FEATURE" |
|
|
|
|
break |
|
|
|
|
case "RELEASE": |
|
|
|
|
case "BUGFIX": |
|
|
|
|
essentialBranch = "RELEASE" |
|
|
|
|
break |
|
|
|
|
default: |
|
|
|
|
essentialBranch = "MASTER" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
essential "com.fr.essential:fine-essential:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
|
essential "com.fr.cbb:fine-scheduler:1.0-${essentialBranch}-SNAPSHOT" |
|
|
|
|