Gradle9
Recipes
- Move
sourceCompatibilityandtargetCompatibilityinto thejava \{ \}extension block - Replace spread-
all*calls inconfigurationsblocks withconfigurations.all \{ \} - Use
application \{ mainClass \}instead ofmainClassName - Use
mainClassinstead ofmainforJavaExectasks - Use
matching(Closure)instead offindAll(Closure)on Gradle container collections - Use one dependency declaration per statement
- Use
project(...)dependency notation instead of the current project's module coordinates - Use
version \{ \}closure instead ofversion = \{ \}assignment