daniel 7 years ago
parent
commit
fee2beba31
  1. 10
      build.third_step1.gradle

10
build.third_step1.gradle

@ -2,12 +2,12 @@
apply plugin: 'java' apply plugin: 'java'
tasks.withType(JavaCompile){ tasks.withType(JavaCompile){
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
destinationDir = file('build/classes/a') destinationDir = file('build/classes/1')
} }
//jdk版本 //jdk版本
sourceCompatibility=1.5 sourceCompatibility=1.5
def jarname="fr-third-9.0.jar" def jarname="fr-third-9.0.jar"
def classesDir='build/classes/a' def classesDir='build/classes/1'
//lib下的jar到classes文件夹 //lib下的jar到classes文件夹
jar{ jar{
baseName="fr-third_1-9.0" baseName="fr-third_1-9.0"
@ -25,13 +25,17 @@ task unJar{
// //
sourceSets{ sourceSets{
a { main{
java{ java{
srcDirs=[ srcDirs=[
"${srcDir}/fine-poi/src", "${srcDir}/fine-poi/src",
"${srcDir}/fine-quartz/src" "${srcDir}/fine-quartz/src"
] ]
} }
output {
classesDir = file('build/classes/1')
}
} }
} }

Loading…
Cancel
Save