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-14 16:11:22 +03:00
|
|
|
version = "0.4.0"
|
2015-12-18 16:20:47 +03:00
|
|
|
|
|
|
|
if (!hasProperty('mainClass')) {
|
2017-06-02 14:23:22 +03:00
|
|
|
ext.mainClass = 'inr.numass.control.msp.MspApp'
|
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"
|
|
|
|
}
|
|
|
|
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"
|
|
|
|
}
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|