Skip to content

Commit

Permalink
downgrade gson to v2.10.1 because of annotations crap
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Sep 16, 2024
1 parent 356ca1f commit 5bf7a54
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
2 changes: 1 addition & 1 deletion .github/workflows/x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
20 changes: 10 additions & 10 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@
</trusted-keys>
</configuration>
<components>
<component group="com.google.code.gson" name="gson-parent" version="2.11.0">
<artifact name="gson-parent-2.11.0.pom">
<sha256 value="8acb1f3b72a6f026916ac0735bad9aab0293d527edb7b365327def13a9367b7a" origin="repo.maven.apache.org/maven2/"/>
<component group="com.google.code.gson" name="gson-parent" version="2.10.1">
<artifact name="gson-parent-2.10.1.pom">
<sha256 value="4248e0882426c615182385d6086c3ef3262e769957189e29306280b85482b833" origin="repo.maven.apache.org/maven2/"/>
</artifact>
</component>
<component group="com.google.code.gson" name="gson" version="2.11.0">
<artifact name="gson-2.11.0.jar">
<sha256 value="57928d6e5a6edeb2abd3770a8f95ba44dce45f3b23b7a9dc2b309c581552a78b" origin="repo.maven.apache.org/maven2/"/>
<component group="com.google.code.gson" name="gson" version="2.10.1">
<artifact name="gson-2.10.1.jar">
<sha256 value="4241c14a7727c34feea6507ec801318a3d4a90f070e4525681079fb94ee4c593" origin="repo.maven.apache.org/maven2/"/>
</artifact>
<artifact name="gson-2.11.0.pom">
<sha256 value="c0e547bea998888e6e25c5886a90e762272bc88b5275343dd2c05ded6ca2e360" origin="repo.maven.apache.org/maven2/"/>
<artifact name="gson-2.10.1.pom">
<sha256 value="d2b115634f5c085db4b9c9ffc2658e89e231fdbfbe2242121a1cd95d4d948dd7" origin="repo.maven.apache.org/maven2/"/>
</artifact>
<artifact name="gson-2.11.0-sources.jar">
<sha256 value="49a853f71bc874ee1898a4ad5009b57d0c536e5a998b3890253ffbf4b7276ad3" origin="repo.maven.apache.org/maven2/"/>
<artifact name="gson-2.10.1-sources.jar">
<sha256 value="eee1cc5c1f4267ee194cc245777e68084738ef390acd763354ce0ff6bfb7bcc1" origin="repo.maven.apache.org/maven2/"/>
</artifact>
</component>

Expand Down
2 changes: 1 addition & 1 deletion headlong.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.11.0</version>
<version>2.10.1</version>
<scope>compile</scope>
<optional>true</optional>
<exclusions>
Expand Down

0 comments on commit 5bf7a54

Please sign in to comment.