Skip to content

Commit

Permalink
chore(deps): update various dependencies
Browse files Browse the repository at this point in the history
Cleans up some compiler warnings as well
  • Loading branch information
gabizou committed Dec 31, 2024
1 parent de9c417 commit 44f08d9
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = "1.0"

[versions]
autoService = "1.1.1"
dagger = "2.52"
dagger = "2.54"
errorprone = "2.28.0"
junit = "5.10.2"

Expand Down
69 changes: 69 additions & 0 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@
<sha256 value="5cb60843f46bbccf97bd832d5490d26ab192af2e663fad7e5971969bf20fb94e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.dagger" name="dagger" version="2.54">
<artifact name="dagger-2.54.jar">
<sha256 value="7ab0d8278a532888de19025dc6ee70a80ecd4567778a6a7e7ec256a2073e40a3" origin="Generated by Gradle"/>
</artifact>
<artifact name="dagger-2.54.pom">
<sha256 value="af43413fd91fc49532884ca32191ab31bec609c344d4939aece9d3efef699f81" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.dagger" name="dagger-compiler" version="2.52">
<artifact name="dagger-compiler-2.52.jar">
<sha256 value="498446a0474aa0a94da765ab8b78ff2516f676632e6220e555114c549579c35e" origin="Generated by Gradle"/>
Expand All @@ -225,6 +233,14 @@
<sha256 value="960ef75577f2188e2710233bdb80609f1f4a47576c3577bcf04541b0d1ee5a0d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.dagger" name="dagger-compiler" version="2.54">
<artifact name="dagger-compiler-2.54.jar">
<sha256 value="f3eab7ab8298f5d4816331b7e591aa461f3f90690ccd0d190f7d8a6084bd064d" origin="Generated by Gradle"/>
</artifact>
<artifact name="dagger-compiler-2.54.pom">
<sha256 value="558d6a5d8024f0ae8302717a6999855040280fbaff24b2a29271c994cd524d9e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.dagger" name="dagger-spi" version="2.52">
<artifact name="dagger-spi-2.52.jar">
<sha256 value="914d26e8764bc47e63990643a31c227543dbce47411d79a822f9e348159a4743" origin="Generated by Gradle"/>
Expand All @@ -233,6 +249,14 @@
<sha256 value="3d7bda017e7783aedab7aac68dd333e81a3dd3fff84da42c1c6409b9cd985373" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.dagger" name="dagger-spi" version="2.54">
<artifact name="dagger-spi-2.54.jar">
<sha256 value="7a990e528ea259b439cdd12ec8164519d8b85a57939a8d7c56a3aaa707e3b269" origin="Generated by Gradle"/>
</artifact>
<artifact name="dagger-spi-2.54.pom">
<sha256 value="6cff4fc977447fe01cddb617aa423f7fcf825431191f89b9049380449742dd0d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.devtools.ksp" name="symbol-processing-api" version="1.9.24-1.0.20">
<artifact name="symbol-processing-api-1.9.24-1.0.20.jar">
<sha256 value="5d9fec20be7e2ef552dafe29283ea1a27bdba62a54895431d17966711e22060b" origin="Generated by Gradle"/>
Expand All @@ -241,6 +265,14 @@
<sha256 value="6904d1789d05b3df95de30e2c9eb24399bf23943d46368fbd3c3facbaccd0f0d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.devtools.ksp" name="symbol-processing-api" version="2.0.21-1.0.28">
<artifact name="symbol-processing-api-2.0.21-1.0.28.jar">
<sha256 value="e38dd8199c65aae4bce9929bf39a563bf7658c600be5066c7e042cdd8de3137c" origin="Generated by Gradle"/>
</artifact>
<artifact name="symbol-processing-api-2.0.21-1.0.28.module">
<sha256 value="8324a417e092ca2728732edb8281ee91ad0861c1c6c694a4dd2e9d4e79f4e270" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.errorprone" name="error_prone_annotation" version="2.28.0">
<artifact name="error_prone_annotation-2.28.0.jar">
<sha256 value="1fb73b174f4277bbe7ee1653045fa4498f504028a5c9240926c0f3b4d5b521b4" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -842,6 +874,14 @@
<sha256 value="f2e2a6573b5b5265c412d5c581fbf8ea00c62b10b9c92d5674c9e97f2f3335b3" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib" version="2.0.21">
<artifact name="kotlin-stdlib-2.0.21.jar">
<sha256 value="f31cc53f105a7e48c093683bbd5437561d1233920513774b470805641bedbc09" origin="Generated by Gradle"/>
</artifact>
<artifact name="kotlin-stdlib-2.0.21.module">
<sha256 value="81fd6d181012487ee3246eff4e2bacb64b58c46e5b5aa72971a4ddf1bd1541ed" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-common" version="1.9.10">
<artifact name="kotlin-stdlib-common-1.9.10.jar">
<sha256 value="cde3341ba18a2ba262b0b7cf6c55b20c90e8d434e42c9a13e6a3f770db965a88" origin="Generated by Gradle"/>
Expand All @@ -850,6 +890,14 @@
<sha256 value="7d4b70547910676b3bdfc8925a88f3b6bfb24582c9784542805544ceef490a92" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk7" version="1.8.0">
<artifact name="kotlin-stdlib-jdk7-1.8.0.jar">
<sha256 value="4c889d1d9803f5f2eb6c1592a6b7e62369ac7660c9eee15aba16fec059163666" origin="Generated by Gradle"/>
</artifact>
<artifact name="kotlin-stdlib-jdk7-1.8.0.pom">
<sha256 value="dfa9644a6ae5b898ee475bb1f57e830ba1f770aee6c9c15f8112aa381180184a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk7" version="1.8.21">
<artifact name="kotlin-stdlib-jdk7-1.8.21.pom">
<sha256 value="9bb107d5d5e3930bc5977f007a43cd20b7d24d91b1c1e528ea6ee0f248f14d36" origin="Generated by Gradle"/>
Expand All @@ -871,6 +919,19 @@
<sha256 value="c7fa67c7961320b89d85a3ca59a2e18c2c65850845595dcae4b46af6945edcd5" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk8" version="1.6.10">
<artifact name="kotlin-stdlib-jdk8-1.6.10.pom">
<sha256 value="43a649fa737bfb35fa4af4e6de33e2f08a5d19104d7582ea40dbcd2b63790acc" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk8" version="1.8.0">
<artifact name="kotlin-stdlib-jdk8-1.8.0.jar">
<sha256 value="05b62804441b0c9a1920b6b7d5cf7329a4e24b6258478e32b1f046ca01900946" origin="Generated by Gradle"/>
</artifact>
<artifact name="kotlin-stdlib-jdk8-1.8.0.pom">
<sha256 value="2bb6c7551b97c7ba029f9866582e7aa19d63abfd4cd53da3fc0c462f3ab5fc26" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk8" version="1.8.21">
<artifact name="kotlin-stdlib-jdk8-1.8.21.pom">
<sha256 value="3839d728d7c309a5c368b0270b44b4f1c7878ff5ca5d32a9a204faa3491459d8" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -900,6 +961,14 @@
<sha256 value="4b777bdcaf4e57602bf67a7f739820a312b1450c3ffb031cebb38699339c3ac3" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jspecify" name="jspecify" version="1.0.0">
<artifact name="jspecify-1.0.0.jar">
<sha256 value="1fad6e6be7557781e4d33729d49ae1cdc8fdda6fe477bb0cc68ce351eafdfbab" origin="Generated by Gradle"/>
</artifact>
<artifact name="jspecify-1.0.0.module">
<sha256 value="d307ca77a54e18ac1ef1aaed4e5bbe014bd2f49f29e1d2f813e47c278283195b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.junit" name="junit-bom" version="5.10.1">
<artifact name="junit-bom-5.10.1.pom">
<sha256 value="21c4b0286f4b20069577ff4b20978a85c100ac8a46b6f1c8672fbaab337bc3f2" origin="Generated by Gradle"/>
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
5 changes: 4 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 2 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

requires static transitive com.google.auto.service;
requires static transitive org.jetbrains.annotations;
requires com.palantir.javapoet;
requires transitive com.palantir.javapoet;

provides javax.annotation.processing.Processor with org.spongepowered.eventimplgen.processor.EventImplGenProcessor;
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public class ClassGenerator {
private final Elements elements;
private final Messager messager;
private final ClassContext.Factory classContextFactory;
private final SourceVersion targetVersion;
private final ClassNameProvider classNameProvider;

private NullPolicy nullPolicy = NullPolicy.DISABLE_PRECONDITIONS;
Expand All @@ -81,15 +80,13 @@ public class ClassGenerator {
final Types types,
final Elements elements,
final Messager messager,
final ClassContext.Factory classContextFactory,
final SourceVersion targetVersion
final ClassContext.Factory classContextFactory
) {
this.classNameProvider = classNameProvider;
this.types = types;
this.elements = elements;
this.messager = messager;
this.classContextFactory = classContextFactory;
this.targetVersion = targetVersion;
}

static PropertySettings getPropertySettings(final Property property) {
Expand Down
2 changes: 1 addition & 1 deletion test-data/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tasks.named('compileJava').configure {
aptOptions {
processorArgs = [
'eventGenFactory': 'test.event.TestEventFactory',
'eventGenDebug': 'true'
'eventGenDebug': 'false'
]
}
}
Expand Down

0 comments on commit 44f08d9

Please sign in to comment.