Skip to content

Commit 3aab70c

Browse files
plumpygoogle-java-format Team
authored andcommitted
Update the IntelliJ plugin to gjf 1.30.0.
PiperOrigin-RevId: 820845143
1 parent 6afe380 commit 3aab70c

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

idea_plugin/build.gradle.kts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ import org.jetbrains.intellij.platform.gradle.TestFrameworkType
1919
// https://github.com/JetBrains/intellij-platform-gradle-plugin/releases
2020
plugins {
2121
id("org.jetbrains.intellij.platform") version "2.9.0"
22-
kotlin("jvm") version "2.2.0"
22+
// See https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#bundled-stdlib-versions
23+
// This version of Kotlin will crash if your Gradle daemon is running under Java 25 (even if that
24+
// isn't the JDK you're using to compile). So make sure to update JAVA_HOME and then
25+
// `./gradlew --stop`
26+
kotlin("jvm") version "2.0.21"
2327
}
2428

2529
repositories {
@@ -29,10 +33,13 @@ repositories {
2933
}
3034

3135
// https://github.com/google/google-java-format/releases
32-
val googleJavaFormatVersion = "1.29.0"
33-
val pluginPatchVersion = "1"
36+
val googleJavaFormatVersion = "1.30.0"
37+
val pluginPatchVersion = "0"
3438

3539
java {
40+
toolchain {
41+
languageVersion = JavaLanguageVersion.of(21)
42+
}
3643
sourceCompatibility = JavaVersion.VERSION_21
3744
targetCompatibility = JavaVersion.VERSION_21
3845
}

idea_plugin/src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
]]></description>
3636
<change-notes><![CDATA[
3737
<dl>
38+
<dt>1.30.0.0</dt>
39+
<dd>Updated to use google-java-format 1.30.0.</dd>
3840
<dt>1.29.0.1</dt>
3941
<dd>Remove uses of deprecated IntelliJ plugin APIs.</dd>
4042
<dt>1.29.0.0</dt>

0 commit comments

Comments
 (0)