Change snapshot version in gradle configurator and AddKotlinLib quick fixes.

This commit is contained in:
Ilya Gorbunov
2016-05-11 18:46:59 +03:00
parent 4cbd2fbe62
commit bf2576e25c
2 changed files with 4 additions and 4 deletions
@@ -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");
* you may not use this file except in compliance with the License.
@@ -44,7 +44,7 @@ class GradleKotlinJavaFrameworkSupportProvider() : GradleFrameworkSupportProvide
val additionalRepository: String? = when {
kotlinVersion == "@snapshot@" -> {
kotlinVersion = "0.1-SNAPSHOT"
kotlinVersion = "1.1-SNAPSHOT"
KotlinWithGradleConfigurator.SNAPSHOT_REPOSITORY
}
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");
* 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()
if ("@snapshot@" == pluginVersion) {
return "0.1-SNAPSHOT"
return "1.1-SNAPSHOT"
}
return pluginVersion
}