Start revamping the build script

This commit is contained in:
Ran
2022-07-26 21:11:08 +06:00
parent 051b2e31b9
commit d07219758f
59 changed files with 451 additions and 421 deletions
+9 -1
View File
@@ -2,7 +2,15 @@ architectury {
common(rootProject.enabled_platforms.split(","))
}
loom {
accessWidenerPath = file("src/main/resources/lod.accesswidener")
}
dependencies {
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
// Do NOT use other classes from fabric loader
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
if (minecraft_version == "1.16.5") {
modApi("me.shedaniel:architectury:${rootProject.architectury_version}")
} else {
@@ -22,4 +30,4 @@ publishing {
repositories {
// Add repositories to publish to here.
}
}
}