diff --git a/build.third_step0.gradle b/build.third_step0.gradle index 20fbade8c..9b7bcd2cb 100644 --- a/build.third_step0.gradle +++ b/build.third_step0.gradle @@ -43,7 +43,7 @@ def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.s def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def srcDir="." -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() // @branch - 分支信息 def maven_version="${version}-${MVN_BRANCH}-SNAPSHOT" diff --git a/build.third_step1.gradle b/build.third_step1.gradle index d75b4d367..2e561dc79 100644 --- a/build.third_step1.gradle +++ b/build.third_step1.gradle @@ -58,7 +58,7 @@ repositories{ FileTree files =fileTree(dir:'./',include:'build.*.gradle') def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() //指定依赖 dependencies{ diff --git a/build.third_step2.gradle b/build.third_step2.gradle index d96413d0e..d65d684a4 100644 --- a/build.third_step2.gradle +++ b/build.third_step2.gradle @@ -46,7 +46,7 @@ repositories{ FileTree files =fileTree(dir:'./',include:'build.*.gradle') def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() //指定依赖 dependencies{ diff --git a/build.third_step3.gradle b/build.third_step3.gradle index d1742fe78..702132f17 100644 --- a/build.third_step3.gradle +++ b/build.third_step3.gradle @@ -45,7 +45,7 @@ repositories{ FileTree files =fileTree(dir:'./',include:'build.*.gradle') def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() //指定依赖 dependencies{ diff --git a/build.third_step4.gradle b/build.third_step4.gradle index dadd4e63a..650c69b0a 100644 --- a/build.third_step4.gradle +++ b/build.third_step4.gradle @@ -44,7 +44,7 @@ repositories{ FileTree files =fileTree(dir:'./',include:'build.*.gradle') def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() //指定依赖 dependencies{ diff --git a/build.third_step5.gradle b/build.third_step5.gradle index d981eb718..dd8d80fdd 100644 --- a/build.third_step5.gradle +++ b/build.third_step5.gradle @@ -42,7 +42,7 @@ repositories{ FileTree files =fileTree(dir:'./',include:'build.*.gradle') def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() //指定依赖 dependencies{ diff --git a/build.third_step6.gradle b/build.third_step6.gradle index 40b2df95e..8ef6d50ae 100644 --- a/build.third_step6.gradle +++ b/build.third_step6.gradle @@ -68,7 +68,7 @@ repositories{ FileTree files =fileTree(dir:'./',include:'build*.gradle') def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) -def MVN_BRANCH = branchName.toUpperCase() +def MVN_BRANCH = branchVariable.toUpperCase() //指定依赖 dependencies{