Skip to content

Commit

Permalink
Updates to support groovy 4 (#439)
Browse files Browse the repository at this point in the history
* JAR updates and import change (#1)

Bump jars to their latest versions
Update the CodeNarcServer
Update linter groovy version

* Revert added space
  • Loading branch information
AngMits authored Dec 15, 2024
1 parent c0ab0d9 commit 4d15bc9
Show file tree
Hide file tree
Showing 39 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: sdkman/sdkman-action@b1f9b696c79148b66d3d3a06f7ea801820318d0f
with:
candidate: groovy
version: 3.0.9
version: 4.0.24

- name: Install dependencies and link
run: |
Expand Down
18 changes: 9 additions & 9 deletions groovy/src/main/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Manifest-Version: 1.0
Class-Path: CodeNarc-3.5.0.jar GMetrics-2.1.0.jar commons-compiler-3.1
.11.jar groovy/lib/ant-1.10.11.jar groovy/lib/ant-launcher-1.10.11.ja
r groovy/lib/commons-cli-1.4.jar groovy/lib/groovy-3.0.9.jar groovy/l
ib/groovy-ant-3.0.9.jar groovy/lib/groovy-cli-commons-3.0.9.jar groov
y/lib/groovy-dateutil-3.0.9.jar groovy/lib/groovy-json-3.0.9.jar groo
vy/lib/groovy-templates-3.0.9.jar groovy/lib/groovy-xml-3.0.9.jar jac
kson-annotations-2.16.0.jar jackson-core-2.16.0.jar jackson-databind-
2.16.0.jar janino-3.1.11.jar logback-classic-1.4.14.jar logback-core-
1.4.14.jar slf4j-api-2.0.9.jar
Class-Path: CodeNarc-3.5.0-groovy-4.0.jar GMetrics-Groovy4-2.1.0.jar c
ommons-compiler-3.1.12.jar groovy/lib/ant-1.10.15.jar groovy/lib/ant-
launcher-1.10.15.jar groovy/lib/commons-cli-1.9.0.jar groovy/lib/groo
vy-4.0.24.jar groovy/lib/groovy-ant-4.0.24.jar groovy/lib/groovy-cli-
commons-4.0.24.jar groovy/lib/groovy-dateutil-4.0.24.jar groovy/lib/g
roovy-json-4.0.24.jar groovy/lib/groovy-templates-4.0.24.jar groovy/l
ib/groovy-xml-4.0.24.jar jackson-annotations-2.18.2.jar jackson-core-
2.18.2.jar jackson-databind-2.18.2.jar janino-3.1.12.jar logback-clas
sic-1.5.12.jar logback-core-1.5.12.jar slf4j-api-2.0.16.jar
Created-By: 1.8.0_144 (Oracle Corporation)
Main-Class: com.nvuillam.CodeNarcServer
3 changes: 3 additions & 0 deletions groovy/src/main/com/nvuillam/CodeNarcServer.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ import com.fasterxml.jackson.databind.ObjectWriter
// Groovy Transform
import groovy.transform.CompileDynamic

// Groovy CliBuilder change for Groovy 4
import groovy.cli.commons.CliBuilder

// Logging
import org.slf4j.Logger
import org.slf4j.LoggerFactory
Expand Down
Binary file added lib/java/CodeNarc-3.5.0-groovy-4.0.jar
Binary file not shown.
Binary file removed lib/java/CodeNarc-3.5.0.jar
Binary file not shown.
Binary file modified lib/java/CodeNarcServer.jar
Binary file not shown.
Binary file removed lib/java/GMetrics-2.1.0.jar
Binary file not shown.
Binary file added lib/java/GMetrics-Groovy4-2.1.0.jar
Binary file not shown.
Binary file removed lib/java/commons-compiler-3.1.11.jar
Binary file not shown.
Binary file added lib/java/commons-compiler-3.1.12.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/java/groovy/lib/ant-launcher-1.10.11.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/ant-launcher-1.10.15.jar
Binary file not shown.
Binary file removed lib/java/groovy/lib/commons-cli-1.4.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/commons-cli-1.9.0.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/java/groovy/lib/groovy-ant-3.0.9.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/groovy-ant-4.0.24.jar
Binary file not shown.
Binary file removed lib/java/groovy/lib/groovy-cli-commons-3.0.9.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/groovy-cli-commons-4.0.24.jar
Binary file not shown.
Binary file removed lib/java/groovy/lib/groovy-dateutil-3.0.9.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/groovy-dateutil-4.0.24.jar
Binary file not shown.
Binary file removed lib/java/groovy/lib/groovy-json-3.0.9.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/groovy-json-4.0.24.jar
Binary file not shown.
Binary file removed lib/java/groovy/lib/groovy-templates-3.0.9.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/groovy-templates-4.0.24.jar
Binary file not shown.
Binary file removed lib/java/groovy/lib/groovy-xml-3.0.9.jar
Binary file not shown.
Binary file added lib/java/groovy/lib/groovy-xml-4.0.24.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/java/jackson-core-2.16.0.jar
Binary file not shown.
Binary file added lib/java/jackson-core-2.18.2.jar
Binary file not shown.
Binary file removed lib/java/jackson-databind-2.16.0.jar
Binary file not shown.
Binary file added lib/java/jackson-databind-2.18.2.jar
Binary file not shown.
Binary file removed lib/java/janino-3.1.11.jar
Binary file not shown.
Binary file added lib/java/janino-3.1.12.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added lib/java/slf4j-api-2.0.16.jar
Binary file not shown.
Binary file removed lib/java/slf4j-api-2.0.9.jar
Binary file not shown.

0 comments on commit 4d15bc9

Please sign in to comment.