|
|
@ -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/1') |
|
|
|
destinationDir = file('build/classes/a') |
|
|
|
} |
|
|
|
} |
|
|
|
//指定构建的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/1' |
|
|
|
def classesDir='build/classes/a' |
|
|
|
//解压lib下的jar到classes文件夹 |
|
|
|
//解压lib下的jar到classes文件夹 |
|
|
|
jar{ |
|
|
|
jar{ |
|
|
|
baseName="fr-third_1-9.0" |
|
|
|
baseName="fr-third_1-9.0" |
|
|
@ -25,7 +25,7 @@ task unJar{ |
|
|
|
|
|
|
|
|
|
|
|
//设置源码路径 |
|
|
|
//设置源码路径 |
|
|
|
sourceSets{ |
|
|
|
sourceSets{ |
|
|
|
1{ |
|
|
|
a { |
|
|
|
java{ |
|
|
|
java{ |
|
|
|
srcDirs=[ |
|
|
|
srcDirs=[ |
|
|
|
"${srcDir}/fine-poi/src", |
|
|
|
"${srcDir}/fine-poi/src", |
|
|
|