1buildscript { 2 dependencies { 3 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 4 } 5} 6 7apply plugin: 'kotlin' 8 9 10sourceCompatibility = 1.8 11 12tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { 13 kotlinOptions { 14 languageVersion = "1.2" 15 apiVersion = "1.1" 16 jvmTarget = "1.8" 17 } 18} 19 20dependencies { 21 compileOnly group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_for_gradle_runtime_version 22 compileOnly group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_for_gradle_runtime_version 23 compile('com.github.yole:jkid:8fc7f12e1a') { 24 transitive = false 25 } 26}