From fabfd3d45ebe93f089fd38eea23a6e25efc76853 Mon Sep 17 00:00:00 2001 From: sunmondong Date: Mon, 17 Oct 2016 20:23:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=BE=9D=E8=B5=96=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.release.gradle | 2 +- designer_base/build.release.gradle | 2 +- designer_chart/build.release.gradle | 2 +- designer_form/build.release.gradle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.release.gradle b/build.release.gradle index 507d77e9f..44aacadb4 100644 --- a/build.release.gradle +++ b/build.release.gradle @@ -3,7 +3,7 @@ tasks.withType(JavaCompile){ options.encoding = "UTF-8" } def basicDir="../../" -def libDir="${basicDir}/finereport-lib-stable" +def libDir="${basicDir}/finereport-lib-stable/master" //获取什么分支名 FileTree files =fileTree(dir:"./",include:"build.*.gradle") def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ("\\")) diff --git a/designer_base/build.release.gradle b/designer_base/build.release.gradle index 6ae925d51..4ed4ba12b 100644 --- a/designer_base/build.release.gradle +++ b/designer_base/build.release.gradle @@ -32,7 +32,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) //声明外部依赖 dependencies{ -compile fileTree(dir:'../../../finereport-lib-stable',include:'**/*.jar') +compile fileTree(dir:'../../../finereport-lib-stable/master',include:'**/*.jar') compile fileTree(dir:'../../../',include:"finereport-*-stable/${branchName}/**/build/libs/*.jar") testCompile 'junit:junit:4.12' diff --git a/designer_chart/build.release.gradle b/designer_chart/build.release.gradle index 595ab9a32..e97176e24 100644 --- a/designer_chart/build.release.gradle +++ b/designer_chart/build.release.gradle @@ -30,7 +30,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) //指定外部依赖 dependencies{ -compile fileTree(dir:'../../../finereport-lib-stable',include:'**/*.jar') +compile fileTree(dir:'../../../finereport-lib-stable/master',include:'**/*.jar') compile fileTree(dir:'../../../',include:"finereport-*-stable/${branchName}/**/build/libs/*.jar") testCompile 'junit:junit:4.12' diff --git a/designer_form/build.release.gradle b/designer_form/build.release.gradle index 6dda9f488..90abcb81e 100644 --- a/designer_form/build.release.gradle +++ b/designer_form/build.release.gradle @@ -32,7 +32,7 @@ buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\')) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) //声明外部依赖 dependencies{ -compile fileTree(dir:'../../../finereport-lib-stable',include:'**/*.jar') +compile fileTree(dir:'../../../finereport-lib-stable/master',include:'**/*.jar') compile fileTree(dir:'../../../',include:"finereport-*-stable/${branchName}/**/build/libs/*.jar") testCompile 'junit:junit:4.12'