From 6ca89ba56abf0791e3a331c0c005cba898c9f65e Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:30:46 -0800 Subject: [PATCH] Update loom and Gradle wrapper --- build-logic/src/main/kotlin/FileCopyTask.kt | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 3 +-- settings.gradle.kts | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/build-logic/src/main/kotlin/FileCopyTask.kt b/build-logic/src/main/kotlin/FileCopyTask.kt index a2709010..e73c8022 100644 --- a/build-logic/src/main/kotlin/FileCopyTask.kt +++ b/build-logic/src/main/kotlin/FileCopyTask.kt @@ -11,7 +11,7 @@ abstract class FileCopyTask : DefaultTask() { val destination = project.objects.fileProperty() @TaskAction - private fun copyFile() { + fun copyFile() { destination.get().asFile.parentFile.mkdirs() fileToCopy.get().asFile.copyTo(destination.get().asFile, overwrite = true) } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index df97d72b..cea7a793 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/gradlew b/gradlew index f5feea6d..f3b75f3b 100755 --- a/gradlew +++ b/gradlew @@ -86,8 +86,7 @@ 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 -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/settings.gradle.kts b/settings.gradle.kts index 3514d21e..7c669123 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -76,8 +76,8 @@ pluginManagement { } plugins { - id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" - id("quiet-fabric-loom") version "1.7-SNAPSHOT" + id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0" + id("quiet-fabric-loom") version "1.9-SNAPSHOT" } rootProject.name = "CarbonChat"