aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
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/gradle-plugin
parentac00e0375473a5de711f7866cb17ea5c82f4e7a5 (diff)
downloaddokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.gz
dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.bz2
dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.zip
Clarify Kotlin Versions and config in project
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/build.gradle13
1 files changed, 8 insertions, 5 deletions
diff --git a/runners/gradle-plugin/build.gradle b/runners/gradle-plugin/build.gradle
index 21603a26..790f3132 100644
--- a/runners/gradle-plugin/build.gradle
+++ b/runners/gradle-plugin/build.gradle
@@ -1,23 +1,26 @@
apply plugin: 'java'
apply plugin: 'kotlin'
-sourceCompatibility = 1.8
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: "com.gradle.plugin-publish"
+sourceCompatibility = 1.8
-compileKotlin {
+tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
- freeCompilerArgs += "-Xjsr305-annotations=strict"
+ freeCompilerArgs += "-Xjsr305=strict"
+ languageVersion = "1.2"
+ apiVersion = "1.0"
+ jvmTarget = "1.8"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
- shadow group: 'org.jetbrains.kotlin', name: 'kotlin-runtime', version: kotlin_for_gradle_version
- shadow group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_for_gradle_version
+ shadow group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_for_gradle_runtime_version
+ shadow group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_for_gradle_runtime_version
compile project(":integration")