mirror of
https://github.com/wisplite/crystalline-sky.git
synced 2026-10-30 13:32:18 -05:00
Multiloader II
setup gradle
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
architectury {
|
||||
common {
|
||||
for (p in rootProject.subprojects) {
|
||||
if (p != project) {
|
||||
this@common.add(p.name)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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(libs.fl)
|
||||
|
||||
// required for proper remapping and compiling
|
||||
modCompileOnly(libs.fapi) // TODO: try removing this and seeing if that breaks stuff
|
||||
|
||||
modCompileOnly(libs.sodium.fabric)
|
||||
|
||||
compileOnly(annotationProcessor(libs.mixinextras.common.get())!!)!!
|
||||
}
|
||||
|
||||
sourceSets.main {
|
||||
resources { // include generated resources in resources
|
||||
srcDir("src/generated/resources")
|
||||
exclude(".cache/**")
|
||||
}
|
||||
}
|
||||
@@ -12,8 +12,11 @@ authors = "${members}"
|
||||
displayURL = "${homepage}"
|
||||
logoFile = "assets/${modId}/icon.png"
|
||||
|
||||
[properties]
|
||||
"connector:placeholder" = true
|
||||
[[mixins]]
|
||||
config="${modId}-common.mixins.json"
|
||||
|
||||
[[mixins]]
|
||||
config="${modId}.mixins.json"
|
||||
|
||||
[[dependencies."${ modId }"]]
|
||||
modId = "connector"
|
||||
|
||||
Reference in New Issue
Block a user