|
|
@ -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(0,buildDir.lastIndexOf ('\\')) |
|
|
|
buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\')) |
|
|
|
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) |
|
|
|
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) |
|
|
|
|
|
|
|
|
|
|
|
//声明外部依赖 |
|
|
|
//声明外部依赖 |
|
|
|