|
|
@ -2,8 +2,9 @@ apply plugin: 'java' |
|
|
|
tasks.withType(JavaCompile){ |
|
|
|
tasks.withType(JavaCompile){ |
|
|
|
options.encoding = 'UTF-8' |
|
|
|
options.encoding = 'UTF-8' |
|
|
|
} |
|
|
|
} |
|
|
|
def libDir='${libDir}' |
|
|
|
|
|
|
|
def basicDir='../../' |
|
|
|
def basicDir='../../' |
|
|
|
|
|
|
|
def libDir="${basicDir}/finereport-lib-stable" |
|
|
|
//获取什么分支名 |
|
|
|
//获取什么分支名 |
|
|
|
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 ('\\')) |
|
|
|