From 0e15a58aa20c2b5414124f92fe27c668391bc096 Mon Sep 17 00:00:00 2001 From: sunmondong Date: Wed, 31 May 2017 18:55:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DaspectJ=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_base/build.9.0.gradle | 8 +++++++- designer_base/build.9.0.gradle.bak | 1 + designer_chart/build.9.0.gradle | 8 +++++++- designer_chart/build.9.0.gradle.bak | 1 + designer_form/build.9.0.gradle | 8 +++++++- designer_form/build.9.0.gradle.bak | 2 +- 6 files changed, 24 insertions(+), 4 deletions(-) diff --git a/designer_base/build.9.0.gradle b/designer_base/build.9.0.gradle index c7c7ef515..4116ce878 100644 --- a/designer_base/build.9.0.gradle +++ b/designer_base/build.9.0.gradle @@ -36,7 +36,13 @@ jar{ def srcDir="." def baseDir=".." - +ant{ + delete(dir:"src/main") + mkdir(dir:"src/main/java") + move(todir:"src/main/java"){ + fileset(dir:"src/com") + } +} //指定源码路径 sourceSets{ main{ diff --git a/designer_base/build.9.0.gradle.bak b/designer_base/build.9.0.gradle.bak index fa144095e..c7c7ef515 100644 --- a/designer_base/build.9.0.gradle.bak +++ b/designer_base/build.9.0.gradle.bak @@ -1,3 +1,4 @@ +apply plugin: 'java' tasks.withType(JavaCompile){ options.encoding = 'UTF-8' } diff --git a/designer_chart/build.9.0.gradle b/designer_chart/build.9.0.gradle index f5a0b1f0a..7169cc654 100644 --- a/designer_chart/build.9.0.gradle +++ b/designer_chart/build.9.0.gradle @@ -36,7 +36,13 @@ jar{ def srcDir="." def baseDir=".." - +ant{ + delete(dir:"src/main") + mkdir(dir:"src/main/java") + move(todir:"src/main/java"){ + fileset(dir:"src/com") + } +} //指定源码路径 sourceSets{ main{ diff --git a/designer_chart/build.9.0.gradle.bak b/designer_chart/build.9.0.gradle.bak index c24965912..f5a0b1f0a 100644 --- a/designer_chart/build.9.0.gradle.bak +++ b/designer_chart/build.9.0.gradle.bak @@ -1,3 +1,4 @@ +apply plugin: 'java' tasks.withType(JavaCompile){ options.encoding = 'UTF-8' } diff --git a/designer_form/build.9.0.gradle b/designer_form/build.9.0.gradle index 423b90a19..8c3b23bb8 100644 --- a/designer_form/build.9.0.gradle +++ b/designer_form/build.9.0.gradle @@ -36,7 +36,13 @@ jar{ def srcDir="." def baseDir=".." - +ant{ + delete(dir:"src/main") + mkdir(dir:"src/main/java") + move(todir:"src/main/java"){ + fileset(dir:"src/com") + } +} //指定源码路径 sourceSets{ main{ diff --git a/designer_form/build.9.0.gradle.bak b/designer_form/build.9.0.gradle.bak index ebe2c4b79..423b90a19 100644 --- a/designer_form/build.9.0.gradle.bak +++ b/designer_form/build.9.0.gradle.bak @@ -1,4 +1,4 @@ - +apply plugin: 'java' tasks.withType(JavaCompile){ options.encoding = 'UTF-8' }