Skip to content

Commit 9a91516

Browse files
committed
Updated to Java 21+ (due to Google Formatter requirement)
1 parent dd87415 commit 9a91516

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/workflows/linux_maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v3
19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v3
2121
with:
22-
java-version: '17'
22+
java-version: '21'
2323
distribution: 'adopt'
2424
cache: maven
2525
- name: Build with Maven

.github/workflows/release_maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Set up JDK 17
16+
- name: Set up JDK 21
1717
uses: actions/setup-java@v3
1818
with:
19-
java-version: '17'
19+
java-version: '21'
2020
distribution: 'adopt'
2121
cache: maven
2222
- name: Build and Deploy with Maven

.github/workflows/windows_maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: windows-latest
1818
steps:
1919
- uses: actions/checkout@v3
20-
- name: Set up JDK 17
20+
- name: Set up JDK 21
2121
uses: actions/setup-java@v3
2222
with:
23-
java-version: '17'
23+
java-version: '21'
2424
distribution: 'adopt'
2525
cache: maven
2626
- name: Build with Maven

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ the same way as e.g. your co-workers do with their Eclipse IDE.
8484

8585
Compatibility
8686
-------------
87-
Compatible with NetBeans 12.0+ and JDK 17+.
87+
Compatible with NetBeans 12.0+ and JDK 21+.
8888

8989
Downloads
9090
---------

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111
</distributionManagement>
112112

113113
<properties>
114-
<java.version>17</java.version>
115-
<maven.compiler.source>17</maven.compiler.source>
116-
<maven.compiler.target>17</maven.compiler.target>
114+
<java.version>21</java.version>
115+
<maven.compiler.source>21</maven.compiler.source>
116+
<maven.compiler.target>21</maven.compiler.target>
117117
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
118118
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
119119
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

src/main/nbm/manifest.mf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Manifest-Version: 1.0
22
OpenIDE-Module-Layer: de/funfried/netbeans/plugins/external/formatter/layer.xml
33
OpenIDE-Module-Localizing-Bundle: de/funfried/netbeans/plugins/external/formatter/Bundle.properties
4-
OpenIDE-Module-Java-Dependencies: Java > 17
4+
OpenIDE-Module-Java-Dependencies: Java > 21

src/site/xdoc/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</subsection>
9494
<subsection name="Compatibility">
9595
<p>
96-
Compatible with NetBeans 12.0+ and JDK 17+.
96+
Compatible with NetBeans 12.0+ and JDK 21+.
9797
</p>
9898
</subsection>
9999
</section>

0 commit comments

Comments
 (0)