Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

Commit 62fe212

Browse files
committed
Merge branch 'master' of https://github.com/Testure/TMB
2 parents 2677e66 + ed02ad2 commit 62fe212

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

build.gradle.kts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ repositories {
3333
maven("https://maven.thesignalumproject.net/infrastructure") { name = "SignalumMavenInfrastructure" }
3434
maven("https://maven.thesignalumproject.net/releases") { name = "SignalumMavenReleases" }
3535
maven("https://maven.thesignalumproject.net/nightly") { name = "SignalumMavenNightly" }
36-
ivy("https://github.com/Better-than-Adventure") {
37-
patternLayout { artifact("[organisation]/releases/download/[revision]/[module]-bta-[revision].jar") }
38-
metadataSources { artifact() }
39-
}
36+
4037
ivy("https://downloads.betterthanadventure.net/bta-client/${libs.versions.btaChannel.get()}/") {
4138
patternLayout { artifact("/v[revision]/client.jar") }
4239
metadataSources { artifact() }
@@ -146,7 +143,7 @@ configurations.configureEach { exclude(group = "org.lwjgl.lwjgl") }
146143

147144

148145

149-
publishing {
146+
/*publishing {
150147
if(checkVersion(modGroup, modName, modVersion)){
151148
repositories {
152149
maven {
@@ -168,7 +165,7 @@ publishing {
168165
}
169166
}
170167
}
171-
}
168+
}*/
172169

173170
fun checkVersion(group: String, name: String, version: String): Boolean {
174171
return !(rootProject.property("check_versions") as String).toBoolean() || try {
@@ -184,7 +181,8 @@ fun checkVersion(group: String, name: String, version: String): Boolean {
184181
true
185182
}
186183
} catch (e: IOException) {
187-
System.err.println(e.message)
184+
System.err.println("Failed to check version for $group.$name!")
185+
e.printStackTrace()
188186
true
189187
}
190188
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.warning.mode = all
66
# by IntelliJ aren't currently compatible with the configuration cache. If you use the runClient and runServer Gradle
77
# tasks instead, then this can (and should) be set to true.
88
org.gradle.configuration-cache = false
9-
check_versions = false
9+
check_versions = true
1010
##########################################################################
1111
# Mod Properties
1212
mod_version = 2.2.1

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ lwjgl = "3.3.3"
4545
loader = { group = "net.fabricmc", name = "fabric-loader", version.ref = "loader" }
4646
halplibe = { group = "turniplabs", name = "halplibe", version.ref = "halplibe" }
4747
modMenu = { group = "turniplabs", name = "modmenu-bta", version.ref = "modMenu" }
48-
legacyLwjgl = { group = "legacy-lwjgl3", name = "legacy-lwjgl3", version.ref = "legacyLwjgl" }
48+
legacyLwjgl = { group = "com.github.Better-than-Adventure", name = "legacy-lwjgl3", version.ref = "legacyLwjgl" }
4949
slf4jApi = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4jApi" }
5050
guava = { group = "com.google.guava", name = "guava", version.ref = "guava" }
5151
log4j-slf4j2-impl = { group = "org.apache.logging.log4j", name = "log4j-slf4j2-impl", version.ref = "log4j" }

0 commit comments

Comments
 (0)