diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-14 16:19:46 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-23 16:58:30 +0300 |
commit | f94beaa25f07333ad47738d5d7fafdd3dd302b04 (patch) | |
tree | fc6bfc169c0bdc7bf44b2b36932d0d406260541e /runners/android-gradle-plugin | |
parent | ac00e0375473a5de711f7866cb17ea5c82f4e7a5 (diff) | |
download | dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.gz dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.bz2 dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.zip |
Clarify Kotlin Versions and config in project
Diffstat (limited to 'runners/android-gradle-plugin')
-rw-r--r-- | runners/android-gradle-plugin/build.gradle | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/runners/android-gradle-plugin/build.gradle b/runners/android-gradle-plugin/build.gradle index 193b8eee..5050fd87 100644 --- a/runners/android-gradle-plugin/build.gradle +++ b/runners/android-gradle-plugin/build.gradle @@ -3,13 +3,19 @@ import org.jetbrains.CorrectShadowPublishing apply plugin: 'java' apply plugin: 'kotlin' -sourceCompatibility = 1.8 apply plugin: 'com.github.johnrengelman.shadow' apply plugin: "com.gradle.plugin-publish" -tasks.withType(AbstractCompile) { - classpath += configurations.shadow +sourceCompatibility = 1.8 + +tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { + kotlinOptions { + freeCompilerArgs += "-Xjsr305=strict" + languageVersion = "1.2" + apiVersion = "1.0" + jvmTarget = "1.8" + } } repositories { |