Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.75 KB

instructions.md

File metadata and controls

26 lines (22 loc) · 1.75 KB

Instructions

  1. Create a new README.md file.

  2. Open gradle.properties file, and change the following properties:

    • projectName
    • projectVersion
    • projectDesription
    • projectGroup
  3. Add your modules by editing the settings.gradle.kts, and include each module. For example:

    include(":my-app")
    include(":my-shared-lib")
  4. Create each module, and provide a build.gradle.kts file in the root of the module.

  5. 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.
  6. Add your dependencies to the lib.versions.toml catalogue file.

  7. Reload the root project.

  8. Code away!