Skip to content

Commit 2f7e558

Browse files
cushongoogle-java-format Team
authored andcommitted
Use JDK 21 for Eclipse plugin
The plugin is failing to build after changes in [1] to add usages of records. [1] 4962993 https://github.com/google/google-java-format/actions/runs/22568168992/job/65368984173 PiperOrigin-RevId: 877811635
1 parent 4962993 commit 2f7e558

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eclipse_plugin/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bundle-Name: google-java-format
44
Bundle-SymbolicName: google-java-format-eclipse-plugin;singleton:=true
55
Bundle-Vendor: Google
66
Bundle-Version: 1.31.0
7-
Bundle-RequiredExecutionEnvironment: JavaSE-11
7+
Bundle-RequiredExecutionEnvironment: JavaSE-21
88
Require-Bundle: org.eclipse.jdt.core;bundle-version="3.10.0",
99
org.eclipse.jface,
1010
org.eclipse.text,

eclipse_plugin/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<properties>
3434
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35-
<tycho-version>3.0.5</tycho-version>
35+
<tycho-version>5.0.2</tycho-version>
3636
</properties>
3737

3838
<dependencies>
@@ -132,8 +132,8 @@
132132
<artifactId>maven-compiler-plugin</artifactId>
133133
<version>3.7.0</version>
134134
<configuration>
135-
<source>11</source>
136-
<target>11</target>
135+
<source>21</source>
136+
<target>21</target>
137137
</configuration>
138138
</plugin>
139139
</plugins>

0 commit comments

Comments
 (0)