Browse Source

KERNEL-6151 fix: fine-third打包脚本修改

release/10.0
Cloud.Liu 4 years ago
parent
commit
d4f8db5bc9
  1. 4
      build.third_step1.gradle
  2. 4
      build.third_step2.gradle
  3. 4
      build.third_step3.gradle
  4. 4
      build.third_step4.gradle
  5. 4
      build.third_step5.gradle
  6. 4
      build.third_step6.gradle
  7. 4
      build.third_step7.gradle
  8. 4
      build.third_step8.gradle

4
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{

4
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){

4
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){

4
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){

4
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){

4
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){

4
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){

4
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){

Loading…
Cancel
Save