Add latest Kotlin version (2.0)

The OJ includes only one version of Kotlin, which is 1.1.
Since version 1.1 a lot of stuff has been deprecated and so much has changed that the language does not feel the same anymore.
Many commonly available methods doesn’t even exist in 1.1.
Thus I hope that Kotlin will be updated to 2.0 (latest).

1 Like

I think v2 came out recently. I will look into this. Thanks for the suggestion!

@hjr265 i saw that you have update Kotlin version to 1.4. However, from my IDE it says that this is a deprecated version of Kotlin. Maybe remove 1.4 and add both 1.9 and 2.0 (latest of v1 and v2)?
image

1 Like

That’s the plan in sha Allah.

Although we will provide v1.9 first and then, later on, v2.

1 Like

@touhidurrr You can give it a try now:

image

1 Like

Thanks! It works!

Although for some reason my IDE is not showing deprecation warnings now.

1 Like