Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@file:Suppress("UnstableApiUsage")
import com.smushytaco.lwjgl_gradle.Preset
plugins {
alias(libs.plugins.loom)
Expand All @@ -16,7 +15,6 @@ base.archivesName = modName
group = modGroup.get()
version = modVersion.get()
loom {
noIntermediateMappings()
customMinecraftMetadata.set("https://downloads.betterthanadventure.net/bta-client/${libs.versions.btaChannel.get()}/v${libs.versions.bta.get()}/manifest.json")
}
repositories {
Expand Down Expand Up @@ -48,12 +46,10 @@ lwjgl {
}
dependencies {
minecraft("::${libs.versions.bta.get()}")
mappings(loom.layered {})

// https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar
modRuntimeOnly("objects:client:43db9b498cb67058d2e12d394e6507722e71bb45")
modImplementation(libs.loader)
modImplementation(libs.legacyLwjgl)
runtimeOnly(libs.clientJar)
implementation(libs.loader)
implementation(libs.legacyLwjgl)

implementation(libs.slf4jApi)
implementation(libs.guava)
Expand Down
8 changes: 5 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
##########################################################################
# Plugins
# Check this on https://maven.thesignalumproject.net/#/infrastructure/fabric-loom/fabric-loom.gradle.plugin/
loom = "1.13.0-bta"
loom = "1.14-SNAPSHOT"
# Check this on https://plugins.gradle.org/plugin/com.smushytaco.lwjgl3/
lwjglPlugin = "1.0.0"
##########################################################################
Expand All @@ -18,7 +18,7 @@ bta = "7.3_04"
# Options are release, prerelease, nightly, and misc.
btaChannel = "release"
# Check this on https://maven.thesignalumproject.net/#/infrastructure/net/fabricmc/fabric-loader/
loader = "0.17.3-bta.8"
loader = "0.18.1-bta.9"
# Check this on https://github.com/Better-than-Adventure/legacy-lwjgl3/releases/latest/
legacyLwjgl = "1.0.6"
##########################################################################
Expand Down Expand Up @@ -48,7 +48,9 @@ log4j-api = { group = "org.apache.logging.log4j", name = "log4j-api", version.re
log4j-api12 = { group = "org.apache.logging.log4j", name = "log4j-1.2-api", version.ref = "log4j" }
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
commonsLang3 = { group = "org.apache.commons", name = "commons-lang3", version.ref = "commonsLang3" }
# https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar
clientJar = { group = "objects", name = "client", version = "43db9b498cb67058d2e12d394e6507722e71bb45" }

[plugins]
loom = { id = "fabric-loom", version.ref = "loom" }
loom = { id = "net.fabricmc.fabric-loom", version.ref = "loom" }
lwjgl = { id = "com.smushytaco.lwjgl3", version.ref = "lwjglPlugin" }
Loading