和 bijiekai 沟通, 换一个变量名字。
@ -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"
@ -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))
//指定依赖
dependencies{
@ -46,7 +46,7 @@ repositories{
@ -45,7 +45,7 @@ repositories{
@ -44,7 +44,7 @@ repositories{
@ -42,7 +42,7 @@ repositories{
@ -68,7 +68,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build*.gradle')