diff --git a/idea_plugin/build.gradle.kts b/idea_plugin/build.gradle.kts index 645d96de1..fe8fb6938 100644 --- a/idea_plugin/build.gradle.kts +++ b/idea_plugin/build.gradle.kts @@ -19,7 +19,11 @@ import org.jetbrains.intellij.platform.gradle.TestFrameworkType // https://github.com/JetBrains/intellij-platform-gradle-plugin/releases plugins { id("org.jetbrains.intellij.platform") version "2.9.0" - kotlin("jvm") version "2.2.0" + // See https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#bundled-stdlib-versions + // This version of Kotlin will crash if your Gradle daemon is running under Java 25 (even if that + // isn't the JDK you're using to compile). So make sure to update JAVA_HOME and then + // `./gradlew --stop` + kotlin("jvm") version "2.0.21" } repositories { @@ -29,10 +33,13 @@ repositories { } // https://github.com/google/google-java-format/releases -val googleJavaFormatVersion = "1.29.0" -val pluginPatchVersion = "1" +val googleJavaFormatVersion = "1.30.0" +val pluginPatchVersion = "0" java { + toolchain { + languageVersion = JavaLanguageVersion.of(21) + } sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } diff --git a/idea_plugin/src/main/resources/META-INF/plugin.xml b/idea_plugin/src/main/resources/META-INF/plugin.xml index 1d69a056d..5262ac12e 100644 --- a/idea_plugin/src/main/resources/META-INF/plugin.xml +++ b/idea_plugin/src/main/resources/META-INF/plugin.xml @@ -35,6 +35,8 @@ ]]> +
1.30.0.0
+
Updated to use google-java-format 1.30.0.
1.29.0.1
Remove uses of deprecated IntelliJ plugin APIs.
1.29.0.0