Change snapshot version in gradle configurator and AddKotlinLib quick fixes.
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2015 JetBrains s.r.o.
|
* Copyright 2010-2016 JetBrains s.r.o.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -44,7 +44,7 @@ class GradleKotlinJavaFrameworkSupportProvider() : GradleFrameworkSupportProvide
|
|||||||
|
|
||||||
val additionalRepository: String? = when {
|
val additionalRepository: String? = when {
|
||||||
kotlinVersion == "@snapshot@" -> {
|
kotlinVersion == "@snapshot@" -> {
|
||||||
kotlinVersion = "0.1-SNAPSHOT"
|
kotlinVersion = "1.1-SNAPSHOT"
|
||||||
KotlinWithGradleConfigurator.SNAPSHOT_REPOSITORY
|
KotlinWithGradleConfigurator.SNAPSHOT_REPOSITORY
|
||||||
}
|
}
|
||||||
isEap(kotlinVersion) -> {
|
isEap(kotlinVersion) -> {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2015 JetBrains s.r.o.
|
* Copyright 2010-2016 JetBrains s.r.o.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -200,7 +200,7 @@ abstract class AddKotlinLibQuickFix(element: KtElement) : KotlinQuickFixAction<K
|
|||||||
|
|
||||||
val pluginVersion = bundledRuntimeVersion()
|
val pluginVersion = bundledRuntimeVersion()
|
||||||
if ("@snapshot@" == pluginVersion) {
|
if ("@snapshot@" == pluginVersion) {
|
||||||
return "0.1-SNAPSHOT"
|
return "1.1-SNAPSHOT"
|
||||||
}
|
}
|
||||||
return pluginVersion
|
return pluginVersion
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user