Browse Source

build.third_step0.gradle edited online with Bitbucket

qufenxi
daniel 6 years ago
parent
commit
ac2e571a57
  1. 4
      build.third_step0.gradle

4
build.third_step0.gradle

@ -46,8 +46,8 @@ def srcDir="."
def maven_version_build = ""
def indexV = branchName.indexOf( "%2F");
if(indexV != -1){
version= branchName.substring(0, indexV).toUpperCase()
maven_version_build = branchName.substring(indexV+3, branchName.length()).toUpperCase()+"-" + project.version +"-SNAPSHOT"
version= branchName.substring(indexV+3, branchName.length()).toUpperCase()
maven_version_build = project.version +"-" + branchName.substring(0, indexV).toUpperCase() +"-SNAPSHOT"
} else {
version= branchName
maven_version_build = project.version +"-SNAPSHOT"

Loading…
Cancel
Save