From 5bf7a54e5e8ecb982dde940cdf09b371f9b1ba81 Mon Sep 17 00:00:00 2001 From: Evan Saulpaugh Date: Mon, 16 Sep 2024 01:50:34 -0500 Subject: [PATCH] downgrade gson to v2.10.1 because of annotations crap --- .github/workflows/macos.yml | 2 +- .github/workflows/x86.yml | 2 +- build.gradle | 4 +--- build.gradle.kts | 4 +--- gradle/verification-metadata.xml | 20 ++++++++++---------- headlong.properties | 2 +- pom.xml | 2 +- 7 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b6b5ec57..c80da81a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -34,4 +34,4 @@ jobs: java -version gradle -version gradle build --no-daemon - ant -noinput -buildfile build.xml -Drepository="/.gradle/caches/modules-2/files-2.1" -Dgson_path="/com.google.code.gson/gson/2.11.0/527175ca6d81050b53bdd4c457a6d6e017626b0e" clean all build-jar \ No newline at end of file + ant -noinput -buildfile build.xml -Drepository="/.gradle/caches/modules-2/files-2.1" -Dgson_path="/com.google.code.gson/gson/2.10.1/b3add478d4382b78ea20b1671390a858002feb6c" clean all build-jar \ No newline at end of file diff --git a/.github/workflows/x86.yml b/.github/workflows/x86.yml index 0539e1d1..a2b68fc9 100644 --- a/.github/workflows/x86.yml +++ b/.github/workflows/x86.yml @@ -31,4 +31,4 @@ jobs: java -version chmod +x ./gradlew ./gradlew build --no-daemon - ant -noinput -buildfile build.xml -Drepository="/.gradle/caches/modules-2/files-2.1" -Dgson_path="/com.google.code.gson/gson/2.11.0/527175ca6d81050b53bdd4c457a6d6e017626b0e" clean all build-jar \ No newline at end of file + ant -noinput -buildfile build.xml -Drepository="/.gradle/caches/modules-2/files-2.1" -Dgson_path="/com.google.code.gson/gson/2.10.1/b3add478d4382b78ea20b1671390a858002feb6c" clean all build-jar \ No newline at end of file diff --git a/build.gradle b/build.gradle index a2f45c64..a0c35391 100644 --- a/build.gradle +++ b/build.gradle @@ -91,9 +91,7 @@ final String jmhVersion = "1.37" final String bcVersion = "1.78.1" dependencies { - implementation("com.google.code.gson:gson:2.11.0") { - exclude group: "com.google.errorprone", module: "error_prone_annotations" - } + implementation("com.google.code.gson:gson:2.10.1") testImplementation("org.junit.jupiter:junit-jupiter-api:" + junitVersion) testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:" + junitVersion) diff --git a/build.gradle.kts b/build.gradle.kts index f45ab445..cf50ef92 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -81,9 +81,7 @@ //val bcVersion = "1.78.1" // //dependencies { -// implementation("com.google.code.gson:gson:2.11.0") { -// exclude(group = "com.google.errorprone", module = "error_prone_annotations") -// } +// implementation("com.google.code.gson:gson:2.10.1") // // testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion") // testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitVersion") diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index d7b5c7d9..03ca5f96 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -32,20 +32,20 @@ - - - + + + - - - + + + - - + + - - + + diff --git a/headlong.properties b/headlong.properties index 7dd6b437..d4297b04 100644 --- a/headlong.properties +++ b/headlong.properties @@ -1,4 +1,4 @@ repository=/.m2/repository -gson_path=/com/google/code/gson/gson/2.11.0 +gson_path=/com/google/code/gson/gson/2.10.1 project.name=headlong project.version=12.2.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 61cada44..91c8f6ad 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ com.google.code.gson gson - 2.11.0 + 2.10.1 compile true