From fee2beba318627ef8ab0b53c04fe5bd86edffcfb Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 3 Jan 2018 09:43:46 +0800 Subject: [PATCH] 1 --- build.third_step1.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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') + } } }