Resolve compiler classpath using 'kotlinCompilerClasspath' configuration

#KT-24675 fixed
This commit is contained in:
Alexey Tsvetkov
2018-05-30 01:45:08 +03:00
parent 6fe0829cf8
commit af8b0ffa6d
9 changed files with 57 additions and 11 deletions
@@ -6,4 +6,11 @@ buildscript {
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
subprojects {
repositories {
mavenLocal()
mavenCentral()
}
}
@@ -8,9 +8,9 @@ buildscript {
}
}
allprojects {
// for test with groovy
subprojects {
repositories {
mavenLocal()
mavenCentral()
}
}
@@ -1 +1,6 @@
apply plugin: 'kotlin'
apply plugin: 'kotlin'
repositories {
mavenLocal()
mavenCentral()
}
@@ -1,7 +1,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@@ -10,6 +10,11 @@ buildscript {
apply plugin: "kotlin"
repositories {
mavenLocal()
mavenCentral()
}
compileKotlin {
kotlinOptions {
languageVersion = "1.0"
@@ -1,9 +1,16 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
subprojects {
repositories {
mavenLocal()
mavenCentral()
}
}