numass-framework/numass-control/control-room/build.gradle

45 lines
1.0 KiB
Groovy
Raw Normal View History

2017-05-13 21:46:12 +03:00
plugins{
2017-05-26 22:33:56 +03:00
id "org.jetbrains.kotlin.jvm" version '1.1.2-2'
2017-05-13 21:46:12 +03:00
id "application"
2017-05-22 16:31:24 +03:00
id 'com.github.johnrengelman.shadow' version '2.0.0'
2017-05-13 21:46:12 +03:00
}
if (!hasProperty('mainClass')) {
2017-05-19 15:02:31 +03:00
ext.mainClass = 'inr.numass.control.ServerApp'//"inr.numass.viewer.test.TestApp"
2017-05-13 21:46:12 +03:00
}
mainClassName = mainClass
2017-05-26 22:33:56 +03:00
version = "0.2.0"
2017-05-13 21:46:12 +03:00
description = "The control room application for numass slow control"
compileKotlin.kotlinOptions.jvmTarget = "1.8"
dependencies {
compile project(':numass-core')
compile project(':numass-control')
2017-05-19 15:02:31 +03:00
compile project(':numass-server')
2017-05-26 22:33:56 +03:00
compile project(':numass-control:cryotemp')
2017-05-13 21:46:12 +03:00
compile 'org.controlsfx:controlsfx:8.40.12'
compile "no.tornado:tornadofx:1.7.4"
2017-05-26 22:33:56 +03:00
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8"
2017-05-13 21:46:12 +03:00
}
2017-05-22 16:31:24 +03:00
shadowJar{
mergeServiceFiles()
}
2017-05-13 21:46:12 +03:00
2017-05-26 22:33:56 +03:00
task debug(dependsOn: classes, type: JavaExec) {
main mainClass
args "--config.resource=/config/server.xml"
classpath = sourceSets.main.runtimeClasspath
description "Start application in debug mode"
group "debug"
}