Skip to content

Commit

Permalink
chore!: upgrading to Java 17
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Java minimum version required bumped to 17
  • Loading branch information
geovanne-duarte-mx committed Sep 6, 2024
1 parent 54306f5 commit 4a09968
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ jobs:
uses: mxenabled/path-tools/.github/workflows/ci.yml@master
with:
force: ${{ inputs.force != '' && inputs.force }}
java-version: '8'
20 changes: 9 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,28 @@ plugins {
id "java-gradle-plugin"
id "java-library"
id "maven-publish"
id "com.github.ben-manes.versions" version "0.43.0"
id "com.github.ben-manes.versions" version "0.51.0"
}

group "com.mx.coppuccino"
version "3.3.0" // x-release-please-version
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

repositories {
gradlePluginPortal()
mavenLocal()
}

dependencies {
// Need to keep at 4.7.0. 4.8.0 is not compatible with Java 8.
implementation "ru.vyarus:gradle-quality-plugin:4.7.0"
implementation "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13"
// Need to keep at 6.6.0 until issues with M1 Macs is addressed.
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.6.0") {
implementation "ru.vyarus:gradle-quality-plugin:4.9.0"
implementation "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.5"
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.25.0") {
exclude group: "com.google.googlejavaformat", module: "google-java-format-parent"
}
implementation "com.google.googlejavaformat:google-java-format-parent:1.15.0"
implementation "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0-RC2"
implementation "org.kordamp.gradle:jacoco-gradle-plugin:0.47.0"
implementation "com.google.googlejavaformat:google-java-format-parent:1.23.0"
implementation "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0"
implementation "org.kordamp.gradle:jacoco-gradle-plugin:0.54.0"
}

project.description = "Java style, standard, and safety enforcement"
Expand Down

0 comments on commit 4a09968

Please sign in to comment.