|
|
|
@ -74,7 +74,7 @@ sourceSets{
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
sourceSets.main.java.outputDir = file('build/classes/1') |
|
|
|
|
sourceSets.main.output.classesDir = file('build/classes/1') |
|
|
|
|
repositories{ |
|
|
|
|
mavenCentral() |
|
|
|
|
maven { url "http://mvn.finedevelop.com/repository/maven-public/" } |
|
|
|
@ -84,7 +84,7 @@ repositories{
|
|
|
|
|
FileTree files =fileTree(dir:'./',include:'build.*.gradle') |
|
|
|
|
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) |
|
|
|
|
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) |
|
|
|
|
// def MVN_BRANCH = branchVariable.toUpperCase() |
|
|
|
|
def MVN_BRANCH = branchVariable.toUpperCase() |
|
|
|
|
|
|
|
|
|
//指定依赖 |
|
|
|
|
dependencies{ |
|
|
|
@ -112,6 +112,8 @@ def dataContent ={def dir ->
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
task copyFiles(type:Copy,dependsOn:'compileJava'){ |
|
|
|
|
copy{ |
|
|
|
|
println "------------------------------------------------copyfiles" |
|
|
|
|