generated from Modding/greenhouse-fabric-template
No description
| .forgejo/workflows | ||
| build_logic | ||
| gradle | ||
| src | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| build.gradle.kts | ||
| CHANGELOG.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
Greenhouse Multiloader Template
This is a version of the Fabric Example Mod that is tailored towards Fabric only Greenhouse mods.
Swapping Versions
Versions and properties are not within gradle.properties. This is because Kotlin DSL does not play nicely with
gradle.properties.
Versions and dependency definition are contained within gradle/libs.versions.toml.
Properties are contained within build_logic/src/main/kotlin/lgbt/greenhouse/examplemod/gradle/Properties.kt.
It is ideal to change any mention of examplemod within the codebase when creating from this template.
Changes from Fabric Example Mod
The main changes from the Fabric Example Mod, which we have forked are:
- Uses Kotlin DSL instead of Groovy DSL.
- Moved versions to
libs.versions.tomlinstead ofgradle.properties. - Rewrites to expanded properties to create less overhead.
- Modmuss' mod publish plugin is set up for both loaders. For CurseForge, Modrinth and Forgejo.
- Feel free to remove any of these, you may desire Forgejo only if the mod is supposed to be an internal library.
- You can run this with
publishMods. Just make sure tokens are set up.