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:
+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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user