The Daily Kotlin
1.55K subscribers
55 photos
1 video
1 file
570 links
Kotlin Chats in Telegram:
RU https://kug.community/
EN https://kug.community/en

Kotlin news and tips
Download Telegram
๐Ÿ‘6
Gradle 9.0 is approaching, making this an ideal time to test it:

./gradlew wrapper --gradle-version=9.0.0-rc-3 && ./gradlew wrapper

The release introduces significant new features that offer something valuable for every developer.
Notable changes include Gradle's migration to K2 (Kotlin's new compiler) and adoption of Kotlin 2.2.

https://gradle.org/whats-new/gradle-9/
https://docs.gradle.org/9.0.0-rc-3/userguide/upgrading_major_version_9.html
๐Ÿ‘3โค2๐Ÿคฎ2๐Ÿ”ฅ1๐Ÿ‘1
โค4๐Ÿ‘2๐Ÿ”ฅ1
JUnit 6 Released with support for suspend methods

So many quality of life improvements!

- Kotlin 2.2 baseline
- JSpecify added to Java APIs (correct nullability information for Java APIs then using from Kotlin)
- Contracts added to asserts, so we would have better smart casts in tests
- Support for Sequence in @TestFactory, @MethodSource, and @FieldSource

Release Notes
Improve Kotlin support #4548

I've created the issue about supporting suspend methods 6 years ago! And it's finally fixed ๐ŸŽ‰
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ŸŽ‰10๐Ÿ”ฅ5