daniel 7 years ago
parent
commit
b5cfefbf2a
  1. 17
      build.third_step0.gradle
  2. 1
      build.third_step1.gradle
  3. 1
      build.third_step2.gradle
  4. 1
      build.third_step3.gradle
  5. 1
      build.third_step4.gradle
  6. 1
      build.third_step5.gradle

17
build.third_step0.gradle

@ -1,5 +1,19 @@
apply plugin: 'java'
tasks.withType(JavaCompile){
options.encoding = 'UTF-8'
destinationDir = file('build/classes/main')
}
//jdk版本
sourceCompatibility=1.5
def jarname="fr-third-9.0.jar"
def classesDir='build/classes/main'
//lib下的jar到classes文件夹
jar{
baseName="fr-third-9.0"
}
//
FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('/'))
@ -27,6 +41,9 @@ task unJar{
include(name:'aopalliance-1.0.jar')
include(name:'aspectjweaver-1.8.4.jar')
}
fileset(dir:"${srcDir}/build/libs"){
include(name:"*.jar")
}
}
}
}

1
build.third_step1.gradle

@ -2,6 +2,7 @@
apply plugin: 'java'
tasks.withType(JavaCompile){
options.encoding = 'UTF-8'
destinationDir = file('build/classes/1')
}
//jdk版本
sourceCompatibility=1.5

1
build.third_step2.gradle

@ -2,6 +2,7 @@
apply plugin: 'java'
tasks.withType(JavaCompile){
options.encoding = 'UTF-8'
destinationDir = file('build/classes/2')
}
//jdk版本
sourceCompatibility=1.5

1
build.third_step3.gradle

@ -2,6 +2,7 @@
apply plugin: 'java'
tasks.withType(JavaCompile){
options.encoding = 'UTF-8'
destinationDir = file('build/classes/3')
}
//jdk版本
sourceCompatibility=1.5

1
build.third_step4.gradle

@ -2,6 +2,7 @@
apply plugin: 'java'
tasks.withType(JavaCompile){
options.encoding = 'UTF-8'
destinationDir = file('build/classes/4')
}
//jdk版本
sourceCompatibility=1.5

1
build.third_step5.gradle

@ -2,6 +2,7 @@
apply plugin: 'java'
tasks.withType(JavaCompile){
options.encoding = 'UTF-8'
destinationDir = file('build/classes/5')
}
//jdk版本
sourceCompatibility=1.5

Loading…
Cancel
Save