diff --git a/build.third_step1.gradle b/build.third_step1.gradle index c3fd9d5ab..80ee3df96 100644 --- a/build.third_step1.gradle +++ b/build.third_step1.gradle @@ -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{ diff --git a/build.third_step2.gradle b/build.third_step2.gradle index c8bb6108a..3900f253a 100644 --- a/build.third_step2.gradle +++ b/build.third_step2.gradle @@ -51,7 +51,7 @@ sourceSets{ } -sourceSets.main.java.outputDir = file('build/classes/2') +sourceSets.main.output.classesDir = file('build/classes/2') repositories{ mavenCentral() maven { url "http://mvn.finedevelop.com/repository/maven-public/" } @@ -62,7 +62,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){ diff --git a/build.third_step3.gradle b/build.third_step3.gradle index 77064d1df..14e299f78 100644 --- a/build.third_step3.gradle +++ b/build.third_step3.gradle @@ -33,7 +33,7 @@ sourceSets{ } } -sourceSets.main.java.outputDir = file('build/classes/3') +sourceSets.main.output.classesDir = file('build/classes/3') repositories{ mavenCentral() @@ -45,7 +45,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){ diff --git a/build.third_step4.gradle b/build.third_step4.gradle index 03dd71fd4..dff001ca4 100644 --- a/build.third_step4.gradle +++ b/build.third_step4.gradle @@ -33,7 +33,7 @@ sourceSets{ } -sourceSets.main.java.outputDir = file('build/classes/4') +sourceSets.main.output.classesDir = file('build/classes/4') repositories{ mavenCentral() @@ -45,7 +45,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){ diff --git a/build.third_step5.gradle b/build.third_step5.gradle index 76b2730fa..5035d84ec 100644 --- a/build.third_step5.gradle +++ b/build.third_step5.gradle @@ -33,7 +33,7 @@ sourceSets{ } -sourceSets.main.java.outputDir = file('build/classes/5') +sourceSets.main.output.classesDir = file('build/classes/5') repositories{ mavenCentral() @@ -45,7 +45,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){ diff --git a/build.third_step6.gradle b/build.third_step6.gradle index 36f9cfcd9..b4bdb299b 100644 --- a/build.third_step6.gradle +++ b/build.third_step6.gradle @@ -31,7 +31,7 @@ sourceSets{ } } -sourceSets.main.java.outputDir = file('build/classes/6') +sourceSets.main.output.classesDir = file('build/classes/6') repositories{ mavenCentral() @@ -43,7 +43,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){ diff --git a/build.third_step7.gradle b/build.third_step7.gradle index 147bf6467..cf816c134 100644 --- a/build.third_step7.gradle +++ b/build.third_step7.gradle @@ -31,7 +31,7 @@ sourceSets{ } } -sourceSets.main.java.outputDir = file('build/classes/7') +sourceSets.main.output.classesDir = file('build/classes/7') repositories{ mavenCentral() @@ -43,7 +43,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){ diff --git a/build.third_step8.gradle b/build.third_step8.gradle index 2cefaea02..cb619bb62 100644 --- a/build.third_step8.gradle +++ b/build.third_step8.gradle @@ -31,7 +31,7 @@ sourceSets{ } } -sourceSets.main.java.outputDir = file('build/classes/8') +sourceSets.main.output.classesDir = file('build/classes/8') repositories{ mavenCentral() @@ -43,7 +43,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() def indexV = branchName.indexOf( "%2F"); if(indexV != -1){