Browse Source

打包脚本

master
richie 4 years ago
parent
commit
efc0bb85fc
  1. 8
      build.gradle

8
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'])

Loading…
Cancel
Save