diff --git a/build.gradle b/build.gradle index 3661759..850bfd2 100644 --- a/build.gradle +++ b/build.gradle @@ -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() } @@ -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() } @@ -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" @@ -78,6 +86,8 @@ switch (OperatingSystem.current()) { case OperatingSystem.WINDOWS: project.ext.lwjglNatives = "natives-windows" break + case OperatingSystem.MAC_OS: + project.ext.lwjglNatives = "natives-macos" } dependencies { @@ -85,7 +95,7 @@ dependencies { 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") diff --git a/gradle.properties b/gradle.properties index b552f3e..0f49986 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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