Skip to content

Commit

Permalink
Update Gradle wrapper and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 2, 2025
1 parent e18b1ea commit b729bc5
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle/build-logic/src/main/kotlin/CopyFile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract class CopyFile : DefaultTask() {
abstract val destination: RegularFileProperty

@TaskAction
private fun copyFile() {
fun copyFile() {
destination.get().asFile.parentFile.mkdirs()
fileToCopy.get().asFile.copyTo(destination.get().asFile, overwrite = true)
}
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ guava = "21.0"
bstats = "3.1.0"
paperApi = "1.16.5-R0.1-SNAPSHOT"
paperLib = "1.0.8"
fabricApi = "0.112.2+1.21.4"
fabricApi = "0.114.0+1.21.4"
fabricLoader = "0.16.9"
minecraft = "1.21.4"
adventurePlatformMod = "6.1.0"
adventurePlatformMod = "6.2.0"
mixin = "0.8.7"
neoforge = "21.4.33-beta"
neoforge = "21.4.47-beta"
neoForm = "1.21.4-20241203.161809"

# buildSrc
Expand Down
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.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 1 addition & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ plugins {
val minecraftVersion = libs.versions.minecraft.get()

neoForge {
version = libs.versions.neoforge
enable {
version = libs.versions.neoforge.get()
}

mods {
register("tabtps") {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pluginManagement {
plugins {
id("quiet-fabric-loom") version "1.9-SNAPSHOT"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
id("net.neoforged.moddev.repositories") version "2.0.61-beta"
id("net.neoforged.moddev.repositories") version "2.0.71"
}

rootProject.name = "TabTPS"
Expand Down
4 changes: 3 additions & 1 deletion sponge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ sponge {
}

neoForge {
neoFormVersion = libs.versions.neoForm
enable {
neoFormVersion = libs.versions.neoForm.get()
}
}

tasks {
Expand Down

0 comments on commit b729bc5

Please sign in to comment.