Better coroutines versions update (KT-27351)

- It was decided to update coroutines to 1.0.0 not to 0.30.0 for 1.3
- Always update to 0.27.0-eap13 coroutines for versions before 0.27.0

 #KT-27351 Fixed
diff --git a/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutines.fixed.1.xml b/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutines.fixed.1.xml
index 01e1877..4cb052f 100644
--- a/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutines.fixed.1.xml
+++ b/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutines.fixed.1.xml
@@ -22,7 +22,7 @@
         <dependency>
             <groupId>org.jetbrains.kotlinx</groupId>
             <artifactId>kotlinx-coroutines-android</artifactId>
-            <version>0.24.0-eap13</version>
+            <version>0.27.0-eap13</version>
         </dependency>
     </dependencies>
 
diff --git a/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutinesNoError.xml b/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutinesNoError.xml
index 0e1448c..c87e492 100644
--- a/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutinesNoError.xml
+++ b/idea/idea-maven/testData/maven-inspections/deprecatedKotlinxCoroutinesNoError.xml
@@ -22,7 +22,7 @@
         <dependency>
             <groupId>org.jetbrains.kotlinx</groupId>
             <artifactId>kotlinx-coroutines-android</artifactId>
-            <version>0.30.0</version>
+            <version>1.0.0-RC</version>
         </dependency>
     </dependencies>
 
diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/migration/coroutinesObsoleteLibraries.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/migration/coroutinesObsoleteLibraries.kt
index d79c397..2b209c0 100644
--- a/idea/src/org/jetbrains/kotlin/idea/inspections/migration/coroutinesObsoleteLibraries.kt
+++ b/idea/src/org/jetbrains/kotlin/idea/inspections/migration/coroutinesObsoleteLibraries.kt
@@ -18,8 +18,8 @@
         return when {
             currentVersion.contains("eap13") -> return currentVersion
             currentVersion.contains("rc13") -> return currentVersion
-            (VersionComparatorUtil.compare(currentVersion, "0.30.0") >= 0) -> return currentVersion
-            (VersionComparatorUtil.compare(currentVersion, "0.24.0") < 0) -> return "0.24.0-eap13"
+            (VersionComparatorUtil.compare(currentVersion, "0.99.0") >= 0) -> return currentVersion // Do not update starting from 1.0.0
+            (VersionComparatorUtil.compare(currentVersion, "0.27.0") < 0) -> return "0.27.0-eap13"
             else -> "$currentVersion-eap13"
         }
     }
diff --git a/idea/testData/gradle/fixes/updateKotlinxCoroutines/build.gradle.after b/idea/testData/gradle/fixes/updateKotlinxCoroutines/build.gradle.after
index 67d58b1..7e8bf8e 100644
--- a/idea/testData/gradle/fixes/updateKotlinxCoroutines/build.gradle.after
+++ b/idea/testData/gradle/fixes/updateKotlinxCoroutines/build.gradle.after
@@ -19,7 +19,7 @@
 }
 
 dependencies {
-    compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0-eap13'
+    compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.27.0-eap13'
 }
 
 compileKotlin {