This commit is contained in:
2026-01-01 23:31:01 -06:00
parent c36cbcea0d
commit 23dfcdc369
49 changed files with 1631 additions and 0 deletions

24
common/build.gradle Normal file
View File

@@ -0,0 +1,24 @@
def generatedResources = file("src/generated/resources")
architectury {
common rootProject.enabled_platforms.split(',')
}
sourceSets {
main {
resources {
srcDir generatedResources
exclude '.cache/**'
}
}
}
dependencies {
// We depend on Fabric Loader here to use the Fabric @Environment annotations,
// which get remapped to the correct annotations on each platform.
// Do NOT use other classes from Fabric Loader.
modImplementation "net.fabricmc:fabric-loader:$rootProject.fabric_loader_version"
// Architectury API. This is optional, and you can comment it out if you don't need it.
modImplementation "dev.architectury:architectury:$rootProject.architectury_api_version"
}