|
|
@ -20,7 +20,8 @@ ext { |
|
|
|
pluginName = pluginInfo.id |
|
|
|
pluginName = pluginInfo.id |
|
|
|
pluginVersion = pluginInfo.version |
|
|
|
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' |
|
|
|
group = 'com.fr.plugin' |
|
|
@ -114,6 +115,11 @@ repositories { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
task prepare(type: Copy) { |
|
|
|
|
|
|
|
into privateLib |
|
|
|
|
|
|
|
from configurations.runtimeClasspath |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
dependencies { |
|
|
|
//使用本地jar |
|
|
|
//使用本地jar |
|
|
|
implementation fileTree(dir: 'lib', include: ['**/*.jar']) |
|
|
|
implementation fileTree(dir: 'lib', include: ['**/*.jar']) |
|
|
|