diff --git a/build.third_step1.gradle b/build.third_step1.gradle index e81c6055f..3aca47087 100644 --- a/build.third_step1.gradle +++ b/build.third_step1.gradle @@ -2,12 +2,12 @@ apply plugin: 'java' tasks.withType(JavaCompile){ options.encoding = 'UTF-8' - destinationDir = file('build/classes/a') + destinationDir = file('build/classes/1') } //指定构建的jdk版本 sourceCompatibility=1.5 def jarname="fr-third-9.0.jar" -def classesDir='build/classes/a' +def classesDir='build/classes/1' //解压lib下的jar到classes文件夹 jar{ baseName="fr-third_1-9.0" @@ -25,13 +25,17 @@ task unJar{ //设置源码路径 sourceSets{ - a { + main{ java{ srcDirs=[ "${srcDir}/fine-poi/src", "${srcDir}/fine-quartz/src" ] } + + output { + classesDir = file('build/classes/1') + } } }