Merge pull request #6854 from alvasw/gradle_Lazily_configure_JavaCompile_tasks

Lazily configure JavaCompile tasks
This commit is contained in:
Alejandro García 2023-09-11 21:30:38 +00:00 committed by GitHub
commit b8a7f0acf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ java {
}
}
tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}