Enable building modules as fat jars
This commit is contained in:
@@ -38,17 +38,14 @@ subprojects {
|
||||
'Plugin-Provider': "${pluginProvider}",
|
||||
'Plugin-Dependencies': "${pluginDependencies}"
|
||||
}
|
||||
}
|
||||
|
||||
task plugin(type: Jar) {
|
||||
archiveBaseName = "plugin-${pluginId}"
|
||||
into('classes') {
|
||||
with jar
|
||||
from configurations.compile.collect {
|
||||
// We already have kotlin stdlib in app module
|
||||
// so it is important to exclude in order
|
||||
// to prevent conflicts
|
||||
exclude "kotlin/**"
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
into('lib') {
|
||||
from configurations.compile
|
||||
}
|
||||
archiveExtension = 'zip'
|
||||
}
|
||||
|
||||
task assemblePlugin(type: Copy) {
|
||||
|
||||
Reference in New Issue
Block a user