Gradle 8.2 introduces simpler property assignment syntax in Kotlin DSL, allowing the use of the = operator directly on lazy Property types instead of the verbose .set() method. This was made possible through a Kotlin compiler plugin developed in collaboration with JetBrains, marking the first externally contributed Kotlin

5m read timeFrom blog.gradle.org
Post cover image
Table of contents
Table of ContentsIntroductionWhat is the lazy property API? #Here comes trouble! #An answer for simple assignment #A joint effort with JetBrains #Try it out in Gradle 8.2 #Conclusion #Discuss

Sort: