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:
Nikolay Krasko
2018-10-01 12:28:45 +03:00
parent 8891733074
commit d756d93af1
4 changed files with 5 additions and 5 deletions
@@ -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"
}
}