From bf2576e25cae1955b5ba5cad3f3ca5eec93caca8 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 11 May 2016 18:46:59 +0300 Subject: [PATCH] Change snapshot version in gradle configurator and AddKotlinLib quick fixes. --- .../configuration/GradleKotlinJavaFrameworkSupportProvider.kt | 4 ++-- .../jetbrains/kotlin/idea/inspections/AddKotlinLibQuickFix.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/configuration/GradleKotlinJavaFrameworkSupportProvider.kt b/idea/src/org/jetbrains/kotlin/idea/configuration/GradleKotlinJavaFrameworkSupportProvider.kt index 4d351402ce5..66e57153993 100644 --- a/idea/src/org/jetbrains/kotlin/idea/configuration/GradleKotlinJavaFrameworkSupportProvider.kt +++ b/idea/src/org/jetbrains/kotlin/idea/configuration/GradleKotlinJavaFrameworkSupportProvider.kt @@ -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) -> { diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/AddKotlinLibQuickFix.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/AddKotlinLibQuickFix.kt index 3e02c43b0a3..b61ce723365 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/AddKotlinLibQuickFix.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/AddKotlinLibQuickFix.kt @@ -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