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
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
|
||||
+2
-2
@@ -18,8 +18,8 @@ object KotlinxVersionUpdater : VersionUpdater {
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0-eap13'
|
||||
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.27.0-eap13'
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
|
||||
Reference in New Issue
Block a user