numass-framework/build.gradle

64 lines
1.7 KiB
Groovy
Raw Normal View History

2018-01-18 10:47:53 +03:00
buildscript {
2019-11-18 15:56:42 +03:00
ext.kotlin_version = "1.3.50"
2018-03-27 15:58:24 +03:00
repositories {
jcenter()
}
2018-01-18 10:47:53 +03:00
2018-03-27 15:58:24 +03:00
dependencies {
2018-08-03 18:22:33 +03:00
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.17"
2018-03-27 15:58:24 +03:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
2017-09-21 20:13:05 +03:00
}
2019-11-18 15:56:42 +03:00
plugins{
id 'org.openjfx.javafxplugin' version '0.0.8' apply false
}
2018-04-20 14:40:54 +03:00
allprojects {
2017-09-21 20:13:05 +03:00
apply plugin: 'idea'
apply plugin: 'java'
2019-11-18 15:56:42 +03:00
apply plugin: "org.jetbrains.kotlin.jvm"
2015-12-18 16:20:47 +03:00
group = 'inr.numass'
version = '1.0.0'
2015-12-18 16:20:47 +03:00
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
2015-12-18 16:20:47 +03:00
repositories {
jcenter()
mavenCentral()
2018-04-24 15:20:50 +03:00
//maven { url = "https://jitpack.io" }
2018-04-20 14:40:54 +03:00
maven { url = "http://dl.bintray.com/kotlin/ktor" }
maven { url = "https://dl.bintray.com/kotlin/kotlinx" }
2015-12-18 16:20:47 +03:00
}
2018-04-20 14:40:54 +03:00
dependencies {
2018-11-17 22:27:12 +03:00
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testImplementation group: 'junit', name: 'junit', version: '4.+'
}
2017-12-10 20:11:23 +03:00
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
javaParameters = true
freeCompilerArgs += [
'-Xjvm-default=enable',
"-progressive",
"-Xuse-experimental=kotlin.Experimental"
]
2017-12-10 20:11:23 +03:00
}
}
2018-04-20 14:40:54 +03:00
compileTestKotlin {
2017-12-10 20:11:23 +03:00
kotlinOptions {
jvmTarget = "1.8"
javaParameters = true
freeCompilerArgs += [
'-Xjvm-default=enable',
"-progressive",
"-Xuse-experimental=kotlin.Experimental"
]
2017-12-10 20:11:23 +03:00
}
}
}