Don't force configure with kotlin-jdk artifacts for early versions (KT-21028)
#KT-21028 Fixed
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// VERSION: $VERSION$
|
||||
buildscript {
|
||||
ext.kotlin_version = '$VERSION$'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
apply plugin: 'kotlin'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
||||
}
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
compileTestKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
// JDK: 1.8
|
||||
@@ -0,0 +1,2 @@
|
||||
// VERSION: 1.1.60
|
||||
// JDK: 1.8
|
||||
@@ -36,7 +36,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
testCompile("junit:junit:4.12")
|
||||
compile(kotlinModule("stdlib-jdk8", kotlin_version))
|
||||
compile(kotlinModule("stdlib-jre8", kotlin_version))
|
||||
}
|
||||
|
||||
// VERSION: $VERSION$
|
||||
|
||||
Reference in New Issue
Block a user