Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,20 @@ assets {

}

// https://github.com/apache/grails-core/issues/15321
tasks.withType(GroovyCompile).configureEach {
// encoding needs to be the same since it's different across platforms
groovyOptions.encoding = 'UTF_8'
// Preserve method parameter names in Groovy/Java classes for IDE parameter hints & bean reflection metadata.
groovyOptions.parameters = true
// encoding needs to be the same since it's different across platforms
options.encoding = 'UTF_8'
// https://github.com/apache/grails-core/issues/15321
groovyOptions.optimizationOptions.indy = false
}

tasks.withType(JavaCompile).configureEach {
// Preserve method parameter names in Groovy/Java classes for IDE parameter hints & bean reflection metadata.
options.compilerArgs.add('-parameters')
// encoding needs to be the same since it's different across platforms
options.encoding = 'UTF_8'
}