Skip to content

Commit 81cb908

Browse files
committed
Update to google-java-format 1.17.0
1 parent 4ebb6f5 commit 81cb908

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

idea_plugin/build.gradle.kts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
* limitations under the License.
1515
*/
1616

17-
plugins { id("org.jetbrains.intellij") version "1.13.3" }
17+
plugins { id("org.jetbrains.intellij") version "1.15.0" }
1818

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

2121
apply(plugin = "java")
2222

2323
repositories { mavenCentral() }
2424

25-
val googleJavaFormatVersion = "1.16.0"
25+
val googleJavaFormatVersion = "1.17.0"
2626

2727
java {
2828
sourceCompatibility = JavaVersion.VERSION_11
@@ -37,7 +37,7 @@ intellij {
3737

3838
tasks {
3939
patchPluginXml {
40-
version.set("${googleJavaFormatVersion}.2")
40+
version.set("${googleJavaFormatVersion}.0")
4141
sinceBuild.set("213")
4242
untilBuild.set("")
4343
}
@@ -49,12 +49,12 @@ tasks {
4949

5050
withType<Test>().configureEach {
5151
jvmArgs(
52-
"--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
53-
"--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
54-
"--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
55-
"--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
56-
"--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
57-
"--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
52+
"--add-exports", "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
53+
"--add-exports", "jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
54+
"--add-exports", "jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
55+
"--add-exports", "jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
56+
"--add-exports", "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
57+
"--add-exports", "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
5858
)
5959
}
6060
}

0 commit comments

Comments
 (0)