-
Create a new README.md file.
-
Open gradle.properties file, and change the following properties:
projectName
projectVersion
projectDesription
projectGroup
-
Add your modules by editing the settings.gradle.kts, and include each module. For example:
include(":my-app") include(":my-shared-lib")
-
Create each module, and provide a
build.gradle.kts
file in the root of the module. -
Edit each
build.gradle.kts
file and apply any of the custom build plugins, as found in the build-logic folder:Plugin Apply Description id("buildlogic.java")
Apply java defaults for Java 21 and JUnit 5. Sets up testing tasks. id("buildlogic.kotlin")
Applies the Java defaults, as well as Kotlin. Add Kotlin specific testing libs such as Kotest, and MockK id("buildlogic.kotlin.app")
Configures the application plugin. -
Add your dependencies to the lib.versions.toml catalogue file.
-
Reload the root project.
-
Code away!