Use helper lib from repo

main
azurelmao 2 years ago
parent 515f342420
commit 3aa7a3fb27

@ -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.

@ -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 {

@ -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

Binary file not shown.
Loading…
Cancel
Save