Skip to content

Commit

Permalink
upgrade to jdk21 and spigot v1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Nov 27, 2024
1 parent 263634c commit b90ab74
Show file tree
Hide file tree
Showing 8 changed files with 724 additions and 715 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode clean package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v2
- uses: eric2788/maven-jar-publish@v2
with:
java-version: 17
java-version: 21
body: 版本更新請到[這裏](https://eric2788.gitbook.io/eldependenci-mvc/references/update)查看。
upload-module: './ELDependenci-MVC-plugin'
- name: 'Update javadocs'
Expand All @@ -46,7 +46,7 @@ jobs:
separator: '.'
- uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'
- name: Publish package
run: mvn --batch-mode clean deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: setup-java
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
8 changes: 6 additions & 2 deletions ELDependenci-MVC-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>eldependenci-mvc-module</artifactId>
<groupId>org.eldependenci</groupId>
<version>0.1.5</version>
<version>0.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -30,6 +30,10 @@
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
</dependency>
</dependencies>

<build>
Expand All @@ -56,4 +60,4 @@
</plugins>
</build>

</project>
</project>
Loading

0 comments on commit b90ab74

Please sign in to comment.