You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Groovy 2.5, the currently only version available, came out in 2018 while Version 4 was first released in 2022 and is currently getting new updates. As of writing this, the newest version was released in June 2024. The newer versions of Groovy 4 support Java 17, which is also the newest Java Version supported on Codewars. Due to being compatible with JDK 16+, it brings a lot of nice features from Java:
2 Other things that would help with a newer Groovy version, especially for writing Test Cases:
ArrayList.shuffled() to both shuffle a list and return it afterwards
Random.nextInt(int origin, int bound). Currently, a workaround like min + Random.nextInt(max) or random.nextInt(max + 1 - min) + min is required to achieve the same effect
Groovy 2.5, the currently only version available, came out in 2018 while Version 4 was first released in 2022 and is currently getting new updates. As of writing this, the newest version was released in June 2024. The newer versions of Groovy 4 support Java 17, which is also the newest Java Version supported on Codewars. Due to being compatible with JDK 16+, it brings a lot of nice features from Java:
The text was updated successfully, but these errors were encountered: