Skip to content

Commit 907d46a

Browse files
plumpycushon
authored andcommitted
Update the google-java-format plugin to use GJF 1.6.
Also remove some redundant info from the plugin.xml file (it gets overwritten/added by the gradle build anyway). MOE_MIGRATED_REVID=199168149
1 parent 7db08b5 commit 907d46a

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

idea_plugin/build.gradle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,12 @@ plugins {
1818
id "org.jetbrains.intellij" version "0.3.1"
1919
}
2020

21-
task showProps {
22-
doLast {
23-
println "Your password is ${jetbrainsPluginRepoPassword}"
24-
}
25-
}
26-
2721
repositories {
2822
mavenCentral()
2923
}
3024

3125
ext {
32-
googleJavaFormatVersion = '1.5'
26+
googleJavaFormatVersion = '1.6'
3327
}
3428

3529
apply plugin: 'org.jetbrains.intellij'
@@ -44,7 +38,7 @@ intellij {
4438
patchPluginXml {
4539
pluginDescription = "Formats source code using the google-java-format tool. This version of " +
4640
"the plugin uses version ${googleJavaFormatVersion} of the tool."
47-
version = "${googleJavaFormatVersion}.1"
41+
version = "${googleJavaFormatVersion}.0"
4842
sinceBuild = '171'
4943
}
5044

idea_plugin/resources/META-INF/plugin.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<idea-plugin url="https://github.com/google/google-java-format/tree/master/idea_plugin">
22
<id>google-java-format</id>
33
<name>google-java-format</name>
4-
<version>1.4.0.172</version>
54
<vendor url="https://github.com/google/google-java-format">
65
Google
76
</vendor>
@@ -11,13 +10,6 @@
1110
reason. It won't crash PyCharm or anything, so whatever. -->
1211
<depends>com.intellij.modules.lang</depends>
1312

14-
<description><![CDATA[
15-
Formats Java source code to comply with Google Style. This version of the plugin uses
16-
google-java-format 1.4.
17-
]]></description>
18-
19-
<idea-version since-build="172"/>
20-
2113
<project-components>
2214
<component>
2315
<implementation-class>

0 commit comments

Comments
 (0)