32 lines
742 B
Groovy
32 lines
742 B
Groovy
group = 'asys'
|
|
version = '0.4-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 {
|
|
nettyVersion = '4.1.9.Final'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
compile project(':webinterface')
|
|
included group: 'io.netty', name: 'netty-codec', version: nettyVersion
|
|
}
|