Skip to content

Commit

Permalink
Update the IntelliJ plugin to gfj 1.20.0.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 610801461
  • Loading branch information
plumpy authored and google-java-format Team committed Feb 27, 2024
1 parent cea3782 commit 74c510a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions idea_plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

plugins { id("org.jetbrains.intellij") version "1.16.1" }
plugins { id("org.jetbrains.intellij") version "1.17.2" }

apply(plugin = "org.jetbrains.intellij")

apply(plugin = "java")

repositories { mavenCentral() }

val googleJavaFormatVersion = "1.19.2"
val googleJavaFormatVersion = "1.20.0"

java {
sourceCompatibility = JavaVersion.VERSION_11
Expand Down Expand Up @@ -62,5 +62,5 @@ tasks {
dependencies {
implementation("com.google.googlejavaformat:google-java-format:${googleJavaFormatVersion}")
testImplementation("junit:junit:4.13.2")
testImplementation("com.google.truth:truth:1.2.0")
testImplementation("com.google.truth:truth:1.4.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import javax.swing.JPanel;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jspecify.annotations.Nullable;
import org.jetbrains.annotations.Nullable;

class GoogleJavaFormatConfigurable extends BaseConfigurable implements SearchableConfigurable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import com.intellij.openapi.components.Storage;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.NotNull;
import org.jspecify.annotations.Nullable;
import org.jetbrains.annotations.Nullable;

@State(
name = "GoogleJavaFormatSettings",
Expand Down
2 changes: 2 additions & 0 deletions idea_plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
]]></description>
<change-notes><![CDATA[
<dl>
<dt>1.20.0.0</dt>
<dd>Updated to use google-java-format 1.20.0.</dd>
<dt>1.19.2.0</dt>
<dd>Updated to use google-java-format 1.19.2.</dd>
<dt>1.17.0.0</dt>
Expand Down

0 comments on commit 74c510a

Please sign in to comment.