Archived
0

Всё есть bundles

Всё же лучше вернуться к изначальной идее, когда модули и
юиюлиотеки подгружаются как bundles, т.к. на данном этапе
ясно, что разные модули могут использовать одни и теже
бибилиотеки.
This commit is contained in:
2017-04-27 05:48:00 +03:00
parent 2117b440ff
commit 8b725d0f69
4 changed files with 16 additions and 29 deletions

View File

@@ -1,23 +1,13 @@
group = 'asys'
version = '0.4-SNAPSHOT'
version = '0.5-SNAPSHOT'
apply plugin: 'osgi'
configurations {
included
compile.extendsFrom included
}
jar {
dependsOn configurations.included
manifest {
name = 'ASys MC server manager'
instruction 'Bundle-Activator', 'asys.mcsmanager.Activator'
instruction 'Import-Package', '!io.netty.*', 'javax.security.cert', 'org.slf4j.helpers', '*'
}
from { configurations.included.collect { it.isDirectory() ? it : zipTree(it).matching{exclude{it.path.contains('META-INF')} } } }
}
ext {
@@ -27,5 +17,5 @@ ext {
dependencies {
compile project(':core')
compile project(':webinterface')
included group: 'io.netty', name: 'netty-codec', version: nettyVersion
compile group: 'io.netty', name: 'netty-codec', version: nettyVersion
}