Skip to content

Commit c2c8a51

Browse files
java-team-github-botgoogle-java-format Team
authored andcommitted
Update the IDEA plugin to use google-java-format 1.8.
PiperOrigin-RevId: 318495968
1 parent 1e4f14f commit c2c8a51

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

idea_plugin/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
*/
1616

1717
plugins {
18-
id "org.jetbrains.intellij" version "0.4.18"
18+
id "org.jetbrains.intellij" version "0.4.21"
1919
}
2020

2121
repositories {
2222
mavenCentral()
2323
}
2424

2525
ext {
26-
googleJavaFormatVersion = '1.7'
26+
googleJavaFormatVersion = '1.8'
2727
}
2828

2929
apply plugin: 'org.jetbrains.intellij'
@@ -37,7 +37,7 @@ intellij {
3737
patchPluginXml {
3838
pluginDescription = "Formats source code using the google-java-format tool. This version of " +
3939
"the plugin uses version ${googleJavaFormatVersion} of the tool."
40-
version = "${googleJavaFormatVersion}.0.5"
40+
version = "${googleJavaFormatVersion}.0.0"
4141
sinceBuild = '201'
4242
untilBuild = ''
4343
}

idea_plugin/resources/META-INF/plugin.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
<change-notes><![CDATA[
1414
<dl>
15+
<dt>1.8.0.0</dt>
16+
<dd>Updated to use google-java-format 1.8.<dd>
1517
<dt>1.7.0.5</dt>
1618
<dd>Added a version for 2020.1+ IDEs.</dd>
1719
<dt>1.7.0.4</dt>

0 commit comments

Comments
 (0)