Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: upgrading to Java 17 #51

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
geovanne-duarte-mx marked this conversation as resolved.
Show resolved Hide resolved
13 changes: 6 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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"
Expand All @@ -18,16 +18,15 @@ repositories {
}

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"
implementation "ru.vyarus:gradle-quality-plugin:4.9.0"
implementation "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.5"
// Need to keep at 6.6.0 until issues with M1 Macs is addressed.
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.6.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
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
Loading