Browse Source

多分支构建测试--04

master
fangdong sun 8 years ago
parent
commit
8dc887960d
  1. 6
      designer_form/build.gradle

6
designer_form/build.gradle

@ -30,8 +30,10 @@ 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(0,buildDir.lastIndexOf ('\\')) buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\'))
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1)
println "this brance name is ${branchName}"
println "this path is buildDir" FileTree jars=fileTree(dir:'../../../').include "finereport-*-stable/${branchName}/**/*.jar"
println "${jars}"
//ÉùÃ÷ÍⲿÒÀÀµ //ÉùÃ÷ÍⲿÒÀÀµ
dependencies{ dependencies{
compile fileTree(dir:'../../../finereport-lib-stable',include:'**/*.jar') compile fileTree(dir:'../../../finereport-lib-stable',include:'**/*.jar')

Loading…
Cancel
Save