'Configure kotlin' should set 1.2-SNAPSHOT version in build.gradle for snapshot version of kotlin plugin
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ abstract class GradleKotlinFrameworkSupportProvider(
|
||||
var kotlinVersion = bundledRuntimeVersion()
|
||||
val additionalRepository = getRepositoryForVersion(kotlinVersion)
|
||||
if (isSnapshot(bundledRuntimeVersion())) {
|
||||
kotlinVersion = "1.1-SNAPSHOT"
|
||||
kotlinVersion = LAST_SNAPSHOT_VERSION
|
||||
}
|
||||
|
||||
if (additionalRepository != null) {
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ abstract class KotlinDslGradleKotlinFrameworkSupportProvider(
|
||||
var kotlinVersion = bundledRuntimeVersion()
|
||||
val additionalRepository = getRepositoryForVersion(kotlinVersion)
|
||||
if (isSnapshot(bundledRuntimeVersion())) {
|
||||
kotlinVersion = "1.1-SNAPSHOT"
|
||||
kotlinVersion = LAST_SNAPSHOT_VERSION
|
||||
}
|
||||
|
||||
if (additionalRepository != null) {
|
||||
|
||||
Reference in New Issue
Block a user