From 495a209a705abad5f2487c5c85cd9347fefd9e91 Mon Sep 17 00:00:00 2001 From: Ziga Gregoric <177303+zziga@users.noreply.github.com> Date: Sat, 5 Dec 2020 17:05:59 +0100 Subject: [PATCH 1/2] Update 'google-java-format' 1.7 -> 1.9 #64 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5c7fad1..dbcc850 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ com.google.googlejavaformat google-java-format - 1.7 + 1.9 org.eclipse.jgit From 0918b7f7620625767166d8d632bac0c740a60884 Mon Sep 17 00:00:00 2001 From: Ziga Gregoric Date: Mon, 14 Dec 2020 11:01:06 +0100 Subject: [PATCH 2/2] Update 'google-java-format' 1.7 -> 1.9 #64 - bump major version to 3.x - add 'Breaking changes section 2.x to 3.x' to README.md --- README.md | 5 +++++ pom.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9be303d..406ba2d 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ A maven plugin that automatically deploys [google-java-format](https://github.com/google/google-java-format) code formatter as a `pre-commit` git hook. On commit, the hook will automatically format staged java files. +### Breaking changes between 2.x and 3.x + +* [#64](https://github.com/Cosium/git-code-format-maven-plugin/issues/64) `google-java-format 1.8` [dropped support for java 8](https://github.com/google/google-java-format/releases/tag/google-java-format-1.8). + The minimum supported runtime version for the plugin is JDK 11. + ### Breaking changes between 1.x and 2.x * [#37](https://github.com/Cosium/git-code-format-maven-plugin/issues/37) To prevent conflicts with other plugins all keys are now diff --git a/pom.xml b/pom.xml index dbcc850..db1239d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.cosium.code git-code-format-maven-plugin - 2.8-SNAPSHOT + 3.0-SNAPSHOT maven-plugin Git Code Format Maven Plugin