Skip to content

Commit

Permalink
Update to BTA 7.3-pre1
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Dec 9, 2024
1 parent e616a4f commit ead11fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
22 changes: 16 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ repositories {
maven { url "https://jitpack.io" }
mavenCentral()
ivy {
url = "https://nightly.betterthanadventure.net"
url = "https://github.com/Better-than-Adventure"
patternLayout {
artifact "/bta-[revision]-client.jar"
artifact "[organisation]/releases/download/v[revision]/[module].jar"
m2compatible = true
}
metadataSources { artifact() }
Expand All @@ -47,9 +47,17 @@ repositories {
metadataSources { artifact() }
}
ivy {
url = "https://github.com/Better-than-Adventure"
url = "https://downloads.betterthanadventure.net/bta-client/prerelease/"
patternLayout {
artifact "[organisation]/releases/download/v[revision]/[module].jar"
artifact "/v[revision]/client.jar"
m2compatible = true
}
metadataSources { artifact() }
}
ivy {
url = "https://downloads.betterthanadventure.net/bta-server/prerelease/"
patternLayout {
artifact "/v[revision]/server.jar"
m2compatible = true
}
metadataSources { artifact() }
Expand All @@ -58,7 +66,7 @@ repositories {

loom {
noIntermediateMappings()
customMinecraftMetadata.set("https://nightly.betterthanadventure.net/bta-${project.bta_version}-manifest.json")
customMinecraftMetadata.set("https://github.com/Turnip-Labs/bta-manifest-repo/releases/download/v${project.bta_version}/${project.bta_version}.json")
runs {
client {
programArgs "--username Dev"
Expand All @@ -78,14 +86,16 @@ switch (OperatingSystem.current()) {
case OperatingSystem.WINDOWS:
project.ext.lwjglNatives = "natives-windows"
break
case OperatingSystem.MAC_OS:
project.ext.lwjglNatives = "natives-macos"
}

dependencies {
minecraft ("::${project.bta_version}")
mappings loom.layered() {}

modRuntimeOnly "objects:client:43db9b498cb67058d2e12d394e6507722e71bb45" // https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar
modImplementation "babric:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

implementation("org.javassist:javassist:3.29.2-GA")
implementation platform("org.lwjgl:lwjgl-bom:$lwjglVersion")
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

# BTA
bta_version=nightly-2024-09-19
bta_version=7.3-pre1

# Loader
loader_version=0.15.6-babric.6-bta
loader_version=0.15.6-bta.7

# Mod Properties
mod_version = 1.0.3
mod_version = 1.0.4
maven_group = com.github.zarzelcow
archives_base_name = legacy-lwjgl3-bta

0 comments on commit ead11fe

Please sign in to comment.