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

44 lines
1015 B
Groovy
Raw Normal View History

2015-12-18 16:20:47 +03:00
apply plugin: 'application'
2017-10-15 22:49:04 +03:00
apply plugin: 'kotlin'
2015-12-18 16:20:47 +03:00
2017-05-16 16:53:57 +03:00
version = "0.5.0"
2015-12-18 16:20:47 +03:00
if (!hasProperty('mainClass')) {
2017-06-08 08:19:08 +03:00
ext.mainClass = 'inr.numass.control.readvac.ReadVac'
2015-12-18 16:20:47 +03:00
}
mainClassName = mainClass
dependencies {
2016-10-22 09:40:25 +03:00
compile project(':numass-control')
2017-10-15 22:49:04 +03:00
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
2017-06-08 08:19:08 +03:00
}
task testDevice(dependsOn: classes, type: JavaExec) {
main mainClass
args = ["--config.resource=/config-test/devices.xml"]
classpath = sourceSets.main.runtimeClasspath
description "Start application in debug mode with default virtual port"
group "test"
2017-10-15 22:49:04 +03:00
}
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
2017-05-28 11:31:49 +03:00
}