Skip to content

Update to Kotlin 2.4.0 & Gradle 9.5.1 - #740

Merged
SleeplessByte merged 3 commits into
exercism:mainfrom
kahgoh:update/kotlin
Jun 19, 2026
Merged

Update to Kotlin 2.4.0 & Gradle 9.5.1#740
SleeplessByte merged 3 commits into
exercism:mainfrom
kahgoh:update/kotlin

Conversation

@kahgoh

@kahgoh kahgoh commented Jun 14, 2026

Copy link
Copy Markdown
Member

This commit updates the track to Kotlin 2.4.0 and Gradle 9.5.1.

Notes:

  • Exercise settings.gradle.kts seems no longer to be needed.
  • Empty cars assemble project removed from Gradle.
  • A number of exercises were updated to resolve a compilation error due to the generic arguments in the parameters. If they were NOT deprecated, the parameterized test was rewritten to remove the parameterization to better allow for TDD practices (parameterized tests does not allow for tests to be "unignored" one at a time).
  • Replaced ExpectedException usages to fix a warning about them no longer supported in Java.
  • Where tests were updated, their imports were also updated to make use of kotlin.test where possible.

@kahgoh
kahgoh marked this pull request as draft June 14, 2026 14:14
@kahgoh
kahgoh force-pushed the update/kotlin branch 2 times, most recently from 5210d2c to 018d766 Compare June 15, 2026 10:43
This commit updates the track to Kotlin 2.4.0 and Gradle 9.5.1.

Notes:
- Exercise settings.gradle.kts seems no longer to be needed.
- Empty cars assemble project removed from Gradle.
- A number of exercises were updated to resolve a compilation error
  due to the generic arguments in the parameters. If they were NOT
  deprecated, the parameterized test was rewritten to remove the
  parameterization to better allow for TDD practices (parameterized
  tests does not allow for tests to be "unignored" one at a time).
- Replaced ExpectedException usages to fix a warning about them no
  longer supported in Java.
- Where tests were updated, their imports were also updated to make
  use of kotlin.test where possible.
@kahgoh
kahgoh marked this pull request as ready for review June 15, 2026 10:53
@kahgoh

kahgoh commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

@SleeplessByte ready for review

@SleeplessByte SleeplessByte left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very happy no more junit

@SleeplessByte
SleeplessByte merged commit c0b3403 into exercism:main Jun 19, 2026
2 checks passed
@kahgoh
kahgoh deleted the update/kotlin branch June 19, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants