Browse Source

Merge pull request #1904 in CORE/base-third from bugfix/10.0 to feature/10.0

* commit 'c7f362827c7fa754048675a59993dc885913f529':
  无JIRA任务 feat: CBB增加分支
feature/10.0
superman 4 years ago
parent
commit
6df4873804
  1. 17
      build.third_step0.gradle

17
build.third_step0.gradle

@ -71,8 +71,21 @@ configurations {
essential
}
// third的feature对应essential和cbb的releasemaster
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"

Loading…
Cancel
Save