Skip to content

Commit

Permalink
Update to, and make project compatible with, Groovy 3.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Nov 26, 2023
1 parent be90748 commit da0a090
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ githubBranch=6.1.x
developers=Puneet Behl, Graeme Rocher
grailsGradlePluginVersion=6.1.0
grailsVersion=6.1.0
groovyVersion=3.0.11
groovyVersion=3.0.19
servletApiVersion=4.0.1
javaParserCoreVersion=3.15.14
jansiVersion=1.18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ class GroovyPageCompiler {
for(int index = 0; index < collatedSrcFiles.size(); index++) {
def gspFiles = collatedSrcFiles[index]

futures << completionService.submit({ ->
futures.add(completionService.submit({ ->
def results = [:]
for(int gspIndex=0;gspIndex < gspFiles.size();gspIndex++) {
for(int gspIndex = 0; gspIndex < gspFiles.size(); gspIndex++) {
File gsp = gspFiles[gspIndex]
try {
compileGSP(viewsDir, gsp, viewPrefix, packagePrefix, results)
Expand All @@ -124,7 +124,7 @@ class GroovyPageCompiler {
}
}
return results
} as Callable)
} as Callable) as Future<Map>)
}

int pending = futures.size()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Usage: java -cp CLASSPATH GroovyPageCompilerForkTask [srcDir] [destDir] [tmpDir]
String targetCompatibility = args[3]
String packageName = args[4].trim()
String serverpath = args[5]
String[] configFiles = args[6].tokenize(',')
String[] configFiles = args[6].tokenize(',') as String[]
File configFile = new File(args[6])
String encoding = args[7] ?: 'UTF-8'

Expand Down

0 comments on commit da0a090

Please sign in to comment.