Browse Source

多分支构建测试--03

master
fangdong sun 8 years ago
parent
commit
da624db69e
  1. 2
      designer_base/build.gradle
  2. 2
      designer_chart/build.gradle
  3. 2
      designer_form/build.gradle

2
designer_base/build.gradle

@ -26,7 +26,7 @@ sourceSets{
// //
FileTree files =fileTree(dir:'./',include:'build.gradle') FileTree files =fileTree(dir:'./',include:'build.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\')) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\'))
buildDir=buildDir.substring(0buildDir.lastIndexOf ('\\')) buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\'))
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1)
// //

2
designer_chart/build.gradle

@ -25,7 +25,7 @@ sourceSets{
} }
FileTree files =fileTree(dir:'./',include:'build.gradle') FileTree files =fileTree(dir:'./',include:'build.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\')) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\'))
buildDir=buildDir.substring(0buildDir.lastIndexOf ('\\')) buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\'))
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1)
//Ö¸¨ÍⲿÒÀÀµ //Ö¸¨ÍⲿÒÀÀµ

2
designer_form/build.gradle

@ -28,7 +28,7 @@ sourceSets{
// //
FileTree files =fileTree(dir:'./',include:'build.gradle') FileTree files =fileTree(dir:'./',include:'build.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\')) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\'))
buildDir=buildDir.substring(0buildDir.lastIndexOf ('\\')) buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\'))
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1)
// //

Loading…
Cancel
Save