aboutsummaryrefslogtreecommitdiff
path: root/runners/ant/build.gradle
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-14 16:19:46 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-23 16:58:30 +0300
commitf94beaa25f07333ad47738d5d7fafdd3dd302b04 (patch)
treefc6bfc169c0bdc7bf44b2b36932d0d406260541e /runners/ant/build.gradle
parentac00e0375473a5de711f7866cb17ea5c82f4e7a5 (diff)
downloaddokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.gz
dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.bz2
dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.zip
Clarify Kotlin Versions and config in project
Diffstat (limited to 'runners/ant/build.gradle')
-rw-r--r--runners/ant/build.gradle11
1 files changed, 10 insertions, 1 deletions
diff --git a/runners/ant/build.gradle b/runners/ant/build.gradle
index 85328d95..e7dcd441 100644
--- a/runners/ant/build.gradle
+++ b/runners/ant/build.gradle
@@ -1,6 +1,15 @@
apply plugin: 'kotlin'
-sourceCompatibility = 1.6
+sourceCompatibility = 1.8
+
+tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
+ kotlinOptions {
+ freeCompilerArgs += "-Xjsr305=strict"
+ languageVersion = "1.2"
+ apiVersion = languageVersion
+ jvmTarget = "1.8"
+ }
+}
dependencies {
compile project(":core")