Add platform AS34
This commit is contained in:
@@ -27,7 +27,7 @@ fun CompatibilityPredicate.or(other: CompatibilityPredicate): CompatibilityPredi
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum class Platform : CompatibilityPredicate {
|
enum class Platform : CompatibilityPredicate {
|
||||||
P173, P181, P182, P183;
|
P173, P181, P182, P183, P191;
|
||||||
|
|
||||||
val version: Int = name.drop(1).toInt()
|
val version: Int = name.drop(1).toInt()
|
||||||
|
|
||||||
@@ -46,10 +46,12 @@ enum class Ide(val platform: Platform) : CompatibilityPredicate {
|
|||||||
IJ181(Platform.P181),
|
IJ181(Platform.P181),
|
||||||
IJ182(Platform.P182),
|
IJ182(Platform.P182),
|
||||||
IJ183(Platform.P183),
|
IJ183(Platform.P183),
|
||||||
|
IJ191(Platform.P191),
|
||||||
|
|
||||||
AS31(Platform.P173),
|
AS31(Platform.P173),
|
||||||
AS32(Platform.P181),
|
AS32(Platform.P181),
|
||||||
AS33(Platform.P182);
|
AS33(Platform.P182),
|
||||||
|
AS34(Platform.P183);
|
||||||
|
|
||||||
val kind = Kind.values().first { it.shortName == name.take(2) }
|
val kind = Kind.values().first { it.shortName == name.take(2) }
|
||||||
val version = name.dropWhile { !it.isDigit() }.toInt()
|
val version = name.dropWhile { !it.isDigit() }.toInt()
|
||||||
|
|||||||
Reference in New Issue
Block a user