2015-12-18 16:20:47 +03:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
2017-05-16 16:53:57 +03:00
|
|
|
version = "0.5.0"
|
2015-12-18 16:20:47 +03:00
|
|
|
|
|
|
|
if (!hasProperty('mainClass')) {
|
2016-12-06 23:17:39 +03:00
|
|
|
//ext.mainClass = 'inr.numass.readvac.app.ConsoleVac'
|
2017-05-16 16:53:57 +03:00
|
|
|
ext.mainClass = 'inr.numass.readvac.fx.ReadVac'
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
|
|
|
mainClassName = mainClass
|
|
|
|
|
|
|
|
dependencies {
|
2016-10-22 09:40:25 +03:00
|
|
|
compile project(':numass-control')
|
2016-12-06 23:17:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
//task consoleVac(type: CreateStartScripts) {
|
|
|
|
// mainClassName = "inr.numass.readvac.app.ConsoleVac"
|
|
|
|
// applicationName = "vac-console"
|
|
|
|
// outputDir = new File(project.buildDir, 'scripts')
|
|
|
|
// classpath = jar.outputs.files + project.configurations.runtime
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//applicationDistribution.into("bin") {
|
|
|
|
// from(consoleVac)
|
|
|
|
// fileMode = 0755
|
|
|
|
//}
|