Bump dependencies (#387)

This commit is contained in:
Kichura 2024-12-04 16:23:41 +01:00 committed by GitHub
parent 015ff2ea82
commit 0a6760dcb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 20 additions and 19 deletions

View File

@ -9,19 +9,19 @@ import java.util.stream.IntStream
plugins {
id "java"
id "maven-publish"
id "org.ajoberstar.grgit" version "5.2.2"
id "org.ajoberstar.grgit" version "5.3.0"
id "com.matthewprenger.cursegradle" version "1.4.0" // This repository is archived on GH
id "com.modrinth.minotaur" version "2.8.7"
id "fabric-loom" version "1.8-SNAPSHOT" apply false
id "fabric-loom" version "1.9-SNAPSHOT" apply false
id "com.github.ben-manes.versions" version "0.51.0"
id "xyz.wagyourtail.jvmdowngrader" version "0.7.1"
id "xyz.wagyourtail.jvmdowngrader" version "1.2.1"
}
def ENV = System.getenv()
group = "com.viaversion.fabric"
description = "Client-side and server-side ViaVersion implementation for Fabric"
version = "0.4.16+" + ENV.GITHUB_RUN_NUMBER + "-" + getBranch()
version = "0.4.17+" + ENV.GITHUB_RUN_NUMBER + "-" + getBranch()
logger.lifecycle("Building ViaFabric: $version")
def getBranch() {
@ -66,6 +66,7 @@ allprojects {
maven { url = "https://maven.fabricmc.net/" }
maven { url = "https://maven.legacyfabric.net/" }
maven { url = "https://maven.terraformersmc.com/releases/" }
maven { url = "https://maven.nucleoid.xyz/" }
maven { url = "https://jitpack.io/" }
}
@ -187,7 +188,7 @@ processResources {
List<String> mcReleases = Arrays.stream(rootProject.publish_mc_versions.toString().split(","))
.map({ it -> it.trim() })
.collect(Collectors.toList())
List<String> javaVersions = IntStream.rangeClosed(8, 22)
List<String> javaVersions = IntStream.rangeClosed(8, 24)
.mapToObj { n -> (String) "Java $n" }
.collect(Collectors.toList())
String changelogMsg = "A changelog can be found at https://github.com/ViaVersion/ViaFabric/commits"

View File

@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
loader_version=0.16.9
viaver_version=5.1.2-SNAPSHOT
publish_mc_versions=1.21.4, 1.21.3, 1.21.2, 1.20.6, 1.20.4, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4
publish_mc_versions=1.21.4, 1.20.6, 1.20.4, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4
# example: 1.19.1-rc1. Can be a blank value
modrinth_mc_snapshot=
# example: 1.19-Snapshot. Can be a blank value

2
gradlew vendored
View File

@ -203,7 +203,7 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,

2
gradlew.bat vendored
View File

@ -36,7 +36,7 @@ set APP_HOME=%DIRNAME%
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

View File

@ -3,5 +3,5 @@
before_install:
- curl -s "https://get.sdkman.io" | bash
- source ~/.sdkman/bin/sdkman-init.sh
- sdk install java 21.0.3-tem
- sdk use java 21.0.3-tem
- sdk install java 21.0.5-tem
- sdk use java 21.0.5-tem

View File

@ -20,5 +20,5 @@ include("viafabric-mc1206")
include("viafabric-mc1214")
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
}

View File

@ -12,7 +12,7 @@
"discord": "https://discord.gg/viaversion"
},
"depends": {
"minecraft": ["1.14.4", "1.15.2", "1.16.4", "1.16.5", "1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.1", "1.20.3", "1.20.4", "1.20.5", "1.20.6", "1.21.2", "1.21.3", "1.21.4"],
"minecraft": ["1.14.4", "1.15.2", "1.16.4", "1.16.5", "1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.1", "1.20.3", "1.20.4", "1.20.5", "1.20.6", "1.21.4"],
"viaversion": ">=5.0.0"
},
"breaks": {

View File

@ -2,7 +2,7 @@ dependencies {
minecraft("com.mojang:minecraft:1.20.1")
mappings("net.fabricmc:yarn:1.20.1+build.10:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.92.1+1.20.1")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.92.2+1.20.1")
modImplementation("com.terraformersmc:modmenu:7.2.2")
}

View File

@ -2,8 +2,8 @@ dependencies {
minecraft("com.mojang:minecraft:1.20.4")
mappings("net.fabricmc:yarn:1.20.4+build.3:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.97.1+1.20.4")
modImplementation("com.terraformersmc:modmenu:9.0.0")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.97.2+1.20.4")
modImplementation("com.terraformersmc:modmenu:9.2.0")
}
tasks.compileJava {

View File

@ -2,8 +2,8 @@ dependencies {
minecraft("com.mojang:minecraft:1.20.6")
mappings("net.fabricmc:yarn:1.20.6+build.3:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.100.0+1.20.6")
modImplementation("com.terraformersmc:modmenu:10.0.0-beta.1")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.100.8+1.20.6")
modImplementation("com.terraformersmc:modmenu:10.0.0")
}
tasks.compileJava {

View File

@ -3,7 +3,7 @@ dependencies {
mappings("net.fabricmc:yarn:1.21.4+build.1:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.110.5+1.21.4")
modImplementation("com.terraformersmc:modmenu:12.0.0-beta.1")
modImplementation("com.terraformersmc:modmenu:13.0.0-beta.1")
}
tasks.compileJava {

View File

@ -58,7 +58,7 @@
},
"depends": {
"fabric-resource-loader-v0": "*",
"minecraft": ["1.21.2", "1.21.3", "1.21.4"],
"minecraft": "1.21.4",
"viafabric": "*"
},
"recommends": {