diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-03-22 11:58:29 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-03-27 15:18:59 +0100 |
commit | 93bef428ae2e1f4952a22adfd4a2aa679ddd7605 (patch) | |
tree | 0460ebc4f59e943ce426a459f87fbfbcde76e53a /integration/build.gradle | |
parent | 23219d692d809da29151add0d112c7983f214577 (diff) | |
download | dokka-93bef428ae2e1f4952a22adfd4a2aa679ddd7605.tar.gz dokka-93bef428ae2e1f4952a22adfd4a2aa679ddd7605.tar.bz2 dokka-93bef428ae2e1f4952a22adfd4a2aa679ddd7605.zip |
Rework configuration, fix Gradle plugin
Diffstat (limited to 'integration/build.gradle')
-rw-r--r-- | integration/build.gradle | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/integration/build.gradle b/integration/build.gradle index 24d59edf..ce95844c 100644 --- a/integration/build.gradle +++ b/integration/build.gradle @@ -1,18 +1,21 @@ buildscript { + repositories { jcenter() } + dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" } } apply plugin: 'kotlin' - +apply plugin: 'kotlinx-serialization' sourceCompatibility = 1.8 tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { - languageVersion = "1.2" - apiVersion = "1.1" + languageVersion = language_version + apiVersion = language_version jvmTarget = "1.8" } } @@ -20,7 +23,5 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { dependencies { compileOnly group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_for_gradle_runtime_version compileOnly group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_for_gradle_runtime_version - compile('com.github.yole:jkid:8fc7f12e1a') { - transitive = false - } + compile "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.10.0" }
\ No newline at end of file |