diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d3d8d23..514056b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4
- uses: eric2788/maven-jar-publish@v3
with:
- java-version: 22
+ java-version: 18
body: added multiple distribution management
upload-module: './groovier-plugin'
- name: 'Update javadocs'
@@ -46,7 +46,7 @@ jobs:
separator: '.'
- uses: actions/setup-java@v2
with:
- java-version: '22'
+ java-version: '18'
distribution: 'adopt'
- uses: whelk-io/maven-settings-xml-action@main
with:
diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml
index a58000e..fe2a0cb 100644
--- a/.github/workflows/develop.yml
+++ b/.github/workflows/develop.yml
@@ -13,7 +13,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v1
with:
- java-version: 22
+ java-version: 18
- name: 'Package Jar'
run: mvn -B package --file ./pom.xml
- name: 'upload artifacts'
@@ -21,4 +21,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: groovier-plugin
- path: './groovier-plugin/target'
\ No newline at end of file
+ path: './groovier-plugin/target'
diff --git a/groovier-plugin/pom.xml b/groovier-plugin/pom.xml
index 105736e..ec5e3db 100644
--- a/groovier-plugin/pom.xml
+++ b/groovier-plugin/pom.xml
@@ -15,8 +15,8 @@
${project.parent.version}.1
- 22
- 22
+ 18
+ 18
diff --git a/pom.xml b/pom.xml
index 44bf381..0e792e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
- 22
+ 18
UTF-8