40 lines
1.0 KiB
Groovy
40 lines
1.0 KiB
Groovy
group = 'asys'
|
|
version = '0.2-SNAPSHOT'
|
|
|
|
apply plugin: 'application'
|
|
|
|
mainClassName = "asys.zond.Main"
|
|
|
|
configurations {
|
|
included
|
|
compile.extendsFrom included
|
|
}
|
|
|
|
compileJava {
|
|
dependsOn ':bridge-protocol:compileJava'
|
|
}
|
|
|
|
jar {
|
|
dependsOn ':bridge-protocol:jar'
|
|
dependsOn configurations.included
|
|
manifest {
|
|
attributes 'Implementation-Title': 'ASys Zond',
|
|
'Implementation-Version': version,
|
|
'Main-Class': mainClassName
|
|
}
|
|
baseName = project.group + '.' + project.name
|
|
from { configurations.included.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
}
|
|
|
|
ext {
|
|
nettyVersion = '4.0.23.Final'
|
|
}
|
|
|
|
dependencies {
|
|
included files(project(':bridge-protocol').sourceSets.main.output.classesDir)
|
|
included group: 'org.fusesource.jansi', name: 'jansi', version: '1.11'
|
|
included group: 'org.apache.commons', name: 'commons-exec', version: '1.3'
|
|
included group: 'io.netty', name: 'netty-codec', version: nettyVersion
|
|
included group: 'com.google.guava', name: 'guava', version: '21.0'
|
|
}
|