Add possibility to edit target platform for non-HMPP projects in order to keep ability to edit target platform for IDEA-based projects

This commit is contained in:
Andrey Uskov
2019-06-28 23:35:50 +03:00
parent efb0e692ae
commit e079615cdf
3 changed files with 120 additions and 24 deletions
@@ -39,5 +39,11 @@ object CommonPlatforms {
// TODO(dsavvinov): extensions points?
}.toList()
val allDefaultTargetPlatforms: List<TargetPlatform>
get() = sequence {
yieldAll(allSimplePlatforms)
yieldAll(listOf(defaultCommonPlatform))
}.toList()
}