Skip to content

Commit

Permalink
javaTime -> importJavaTime
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Nov 8, 2024
1 parent 7c39e67 commit 56cda38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class GrailsExtension {
/**
* Whether java.time.* package should be a default import package
*/
boolean javaTime = true
boolean importJavaTime = true

/**
* Configure the reloading agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class GrailsGradlePlugin extends GroovyPlugin {

GrailsExtension grailsExt = project.extensions.getByType(GrailsExtension)
project.tasks.withType(GroovyCompile).configureEach { groovyCompileTask ->
if (grailsExt.javaTime) {
if (grailsExt.importJavaTime) {
groovyCompileTask.doFirst {
def configScriptStream = getClass().getResourceAsStream("/GrailsCompilerConfig.groovy")
if (configScriptStream != null) {
Expand Down

0 comments on commit 56cda38

Please sign in to comment.