apply plugin: 'application' version = "0.4.2" if (!hasProperty('mainClass')) { //ext.mainClass = 'inr.numass.readvac.app.ConsoleVac' ext.mainClass = 'inr.numass.readvac.app.ReadVac' } mainClassName = mainClass dependencies { compile project(':numass-control') } //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 //}