36 lines
885 B
Groovy
36 lines
885 B
Groovy
group = 'asys'
|
|
version = '0.8-SNAPSHOT'
|
|
|
|
apply plugin: 'osgi'
|
|
|
|
configurations {
|
|
include
|
|
compile.extendsFrom include
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
name = 'ASys MC server manager'
|
|
instruction 'Bundle-Activator', 'asys.mcsmanager.Activator'
|
|
instruction 'Import-Package',
|
|
'!asys.mcsmanager.packets.*',
|
|
'io.netty.buffer;version="[4.0,5)"',
|
|
'io.netty.handler.codec;version="[4.0,5)"',
|
|
'*'
|
|
}
|
|
|
|
dependsOn configurations.include
|
|
from { configurations.include.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
}
|
|
|
|
ext {
|
|
nettyVersion = '4.0.23.Final'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
compile project(':webinterface')
|
|
include files(project(':bridge-protocol').sourceSets.main.output.classesDir)
|
|
compile group: 'io.netty', name: 'netty-codec', version: nettyVersion
|
|
}
|