diff --git a/build.third_step0.gradle b/build.third_step0.gradle index 65a8c6bcf..b847efe06 100644 --- a/build.third_step0.gradle +++ b/build.third_step0.gradle @@ -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"