Build KMM plugin for AS 4.2

This commit is contained in:
Kirill Shmakov
2020-08-18 12:11:26 +03:00
parent 6ed13ef1b6
commit 1ce39222e3
3 changed files with 26 additions and 2 deletions
@@ -53,7 +53,8 @@ enum class Ide(val platform: Platform) : CompatibilityPredicate {
AS35(Platform.P183),
AS36(Platform.P192),
AS40(Platform.P193),
AS41(Platform.P201);
AS41(Platform.P201),
AS42(Platform.P201);
val kind = Kind.values().first { it.shortName == name.take(2) }
val version = name.dropWhile { !it.isDigit() }.toInt()