diff --git a/README.md b/README.md index b1cb386..4fa0579 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# BTA Babric Minimal Example Mod +# BTA Babric Minimal Mod -A babric mod template for quickly making new mods. +Babric example mod, but without the examples. ## Prerequisites - JDK for Java 17 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) recommended) @@ -11,7 +11,7 @@ A babric mod template for quickly making new mods. 1. Download or clone this repository and put it somewhere. ``` -git clone https://github.com/azurelmao/bta-babric-minimal-example-mod.git +git clone https://github.com/azurelmao/bta-minimal-mod.git ``` 2. Import the project in IntelliJ IDEA, close it and open it again. diff --git a/build.gradle b/build.gradle index 8536f32..d754f67 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,15 @@ repositories { ivy { url = "https://github.com/Better-than-Adventure" patternLayout { - artifact("[organisation]/releases/download/v[revision]/[module].jar") + artifact "[organisation]/releases/download/v[revision]/[module].jar" + m2compatible = true + } + metadataSources { artifact() } + } + ivy { + url = "https://github.com/azurelmao" + patternLayout { + artifact "[organisation]/releases/download/v[revision]/[module].jar" m2compatible = true } metadataSources { artifact() } @@ -39,14 +47,14 @@ dependencies { modRuntimeOnly files("libs/minecraft-client-base.jar") // only used to fix the Client run configuration modImplementation "babric:fabric-loader:${project.loader_version}" + modImplementation "bta-halplibe:halplibe:${project.halplibe_version}" modImplementation "org.slf4j:slf4j-api:1.8.0-beta4" modImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0" - modImplementation("org.apache.commons:commons-lang3:3.12.0") - include("org.apache.commons:commons-lang3:3.12.0") + modImplementation "org.apache.commons:commons-lang3:3.12.0" + include "org.apache.commons:commons-lang3:3.12.0" - modImplementation files("libs/halplibe-1.0.0.jar") } java { diff --git a/gradle.properties b/gradle.properties index 4e3d3c7..752b240 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,6 +10,9 @@ mixin_version=0.11.4+mixin.0.8.5 # Loader loader_version=0.14.6-babric.1 +# HalpLibe +halplibe_version=1.0.0 + # Mod mod_version=1.0.0 mod_group=azurelmao diff --git a/libs/halplibe-1.0.0.jar b/libs/halplibe-1.0.0.jar deleted file mode 100644 index 463884b..0000000 Binary files a/libs/halplibe-1.0.0.jar and /dev/null differ