|
|
@ -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') |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|