Port to Architectury

Still need to figure out how to register built-in resource packs on forge
This commit is contained in:
Motschen
2022-11-02 18:21:21 +01:00
parent 9e5ff1cb94
commit 54e6d69456
36 changed files with 684 additions and 232 deletions

16
fabric-like/build.gradle Normal file
View File

@@ -0,0 +1,16 @@
architectury {
injectInjectables = false
common(rootProject.enabled_platforms.split(","))
}
loom {
}
dependencies {
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
// Remove the next line if you don't want to depend on the API
modApi "dev.architectury:architectury-fabric:${rootProject.architectury_version}"
compileClasspath(project(path: ":common", configuration: "namedElements")) { transitive false }
}