Skip to content

Commit

Permalink
paper-plugin scoped for 1.21; upgrade maven-compiler-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Oct 17, 2024
1 parent ee6737c commit 7d39e89
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: |
17
21
distribution: 'adopt'
- run: mvn --batch-mode -Dmaven.deploy.skip=true clean package
name: build plugins
Expand All @@ -41,7 +43,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: |
17
21
distribution: 'adopt'
- run: echo ::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
id: project
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: |
17
21
distribution: 'adopt'
- run: mvn --batch-mode clean package
name: build plugins
Expand Down Expand Up @@ -83,7 +85,9 @@ jobs:
separator: '.'
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: |
17
21
distribution: 'adopt'
- name: Publish package
run: mvn --batch-mode clean deploy
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: |
17
21
distribution: 'adopt'
- run: mvn --batch-mode -Dmaven.deploy.skip=true -Dmaven.javadoc.skip=true clean package
name: build plugins
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
id: setup-java
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: |
17
21
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
7 changes: 5 additions & 2 deletions eldependenci-bukkit-plugin/paper-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@

<artifactId>paper-plugin</artifactId>


<properties>
<maven.compile.source>21</maven.compile.source>
<maven.compile.target>21</maven.compile.target>
</properties>

<version>${eld.plugin.version}</version>

Expand Down Expand Up @@ -44,4 +47,4 @@
</build>


</project>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.13.0</version>
<configuration>
<source>${maven.compile.source}</source>
<target>${maven.compile.target}</target>
Expand Down

0 comments on commit 7d39e89

Please sign in to comment.