Add platform AS34

This commit is contained in:
Andrey Uskov
2018-10-26 17:58:11 +03:00
parent c833272392
commit 1c7cab61c9
@@ -27,7 +27,7 @@ fun CompatibilityPredicate.or(other: CompatibilityPredicate): CompatibilityPredi
}
enum class Platform : CompatibilityPredicate {
P173, P181, P182, P183;
P173, P181, P182, P183, P191;
val version: Int = name.drop(1).toInt()
@@ -46,10 +46,12 @@ enum class Ide(val platform: Platform) : CompatibilityPredicate {
IJ181(Platform.P181),
IJ182(Platform.P182),
IJ183(Platform.P183),
IJ191(Platform.P191),
AS31(Platform.P173),
AS32(Platform.P181),
AS33(Platform.P182);
AS33(Platform.P182),
AS34(Platform.P183);
val kind = Kind.values().first { it.shortName == name.take(2) }
val version = name.dropWhile { !it.isDigit() }.toInt()