From 447bfbc09329e0877142b9b48a34713f45312c42 Mon Sep 17 00:00:00 2001 From: sunmondong Date: Thu, 8 Jun 2017 10:25:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9lib=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_base/build.release.gradle | 2 +- designer_chart/build.release.gradle | 2 +- designer_form/build.release.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/designer_base/build.release.gradle b/designer_base/build.release.gradle index 6aa5467c2..f86cef71a 100644 --- a/designer_base/build.release.gradle +++ b/designer_base/build.release.gradle @@ -53,7 +53,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) //声明外部依赖 dependencies{ -compile fileTree(dir:'../../../finereport-lib-stable/master',include:'**/*.jar') +compile fileTree(dir:"../../../finereport-lib-stable/${branchName}",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 b897c71de..625e5ddd3 100644 --- a/designer_chart/build.release.gradle +++ b/designer_chart/build.release.gradle @@ -48,7 +48,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) //指定外部依赖 dependencies{ -compile fileTree(dir:'../../../finereport-lib-stable/master',include:'**/*.jar') +compile fileTree(dir:"../../../finereport-lib-stable/${branchName}",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 793f6a0b1..748ed10f7 100644 --- a/designer_form/build.release.gradle +++ b/designer_form/build.release.gradle @@ -49,7 +49,7 @@ buildDir=buildDir.substring(0,buildDir.lastIndexOf ('\\')) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) //声明外部依赖 dependencies{ -compile fileTree(dir:'../../../finereport-lib-stable/master',include:'**/*.jar') +compile fileTree(dir:"../../../finereport-lib-stable/${branchName}",include:'**/*.jar') compile fileTree(dir:'../../../',include:"finereport-*-stable/${branchName}/**/build/libs/*.jar") testCompile 'junit:junit:4.12'