Conventions plugins for common things we need in our gradle projects (ex. configuring Kotlin, using NMS, publishing packages.)
Note: currently this project is meant to be used via Idofront as it needs a version catalog called idofrontLibs in the project for part of the configuration.
We use gradle conventions plugins located under src. The docs are worth reading but the tldr is these are like normal gradle.kts files that can be applied by other project build scripts.
We also have an idofront extension that's shared by all the conventions to let users configure everything in one place (see IdofrontExtension.kt).
In another project's settings.gradle.kts add the following to test changes to gradle conventions locally.
pluginManagement {
// Assuming you cloned gradle-conventions in the same folder as this project
includeBuild("../gradle-conventions")
}