From efc0bb85fc7f4bff34b868d5a6745c25c97eb523 Mon Sep 17 00:00:00 2001 From: richie Date: Tue, 28 Jul 2020 20:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c56b872..0013a31 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,8 @@ ext { pluginName = pluginInfo.id pluginVersion = pluginInfo.version - outputPath = "$projectDir/../webroot/WEB-INF/plugins/plugin-" + pluginName + "-1.0/classes" + privateLib = "$projectDir/../webroot/WEB-INF/plugins/plugin-" + pluginName + "-1.0" + outputPath = privateLib + "/classes" } group = 'com.fr.plugin' @@ -114,6 +115,11 @@ repositories { } } +task prepare(type: Copy) { + into privateLib + from configurations.runtimeClasspath +} + dependencies { //使用本地jar implementation fileTree(dir: 'lib', include: ['**/*.jar'])