All Projects → mrclrchtr → gradle-kotlin-spring

mrclrchtr / gradle-kotlin-spring

Licence: MIT license
Multi-Project/Module example with Gradle, Kotlin and Spring with Kotlin DSL

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to gradle-kotlin-spring

Android Modular Architecture
📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
Stars: ✭ 2,048 (+2630.67%)
Mutual labels:  gradle-kotlin-dsl
jooq-plugin
Plugin for generating jOOQ classes using dockerized databases
Stars: ✭ 55 (-26.67%)
Mutual labels:  gradle-kotlin-dsl
CleanArchitectureMVVM
Example of Clean Architecture of Android app using MVVM, Koin, Coroutines, Retrofit, Room, Solid Principle, DRY, KISS, OOP
Stars: ✭ 60 (-20%)
Mutual labels:  gradle-kotlin-dsl
gradle-localization-plugin
Gradle plugin for automating the download process of localization files.
Stars: ✭ 19 (-74.67%)
Mutual labels:  gradle-kotlin-dsl
intro-kotlin-mutliplatform
Kotlin Multiplatform project (MPP), JVM and JS
Stars: ✭ 21 (-72%)
Mutual labels:  gradle-kotlin-dsl
kosogor
Defaults and simplified Kotlins-DSL interfaces for Gradle
Stars: ✭ 18 (-76%)
Mutual labels:  gradle-kotlin-dsl
gradle-script-kotlin-example
App using Gradle Script Kotlin
Stars: ✭ 36 (-52%)
Mutual labels:  gradle-kotlin-dsl
heterogeneous-microservices
Implementation of the same simple microservice on different frameworks
Stars: ✭ 43 (-42.67%)
Mutual labels:  gradle-kotlin-dsl
lottie-idea
Android Studio and IntelliJ IDEA viewer plugin for Lottie animations
Stars: ✭ 36 (-52%)
Mutual labels:  gradle-kotlin-dsl

Gradle, Kotlin, Spring Skeleton main

Do you already know how to set up a Gradle multi-project / multi-module with Kotlin DSL and Spring Dependency Management?

I have set up an example here, in which I have abstracted the most important logical components and packed them into individual buildSrc modules. This makes the build very modular and also very clear. What do you think?

It has the following details:

  • Java 17
  • Gradle 8.0.1
    • buildSrc
    • Kotlin DSL
    • Version Catalog (libs.versions.toml)
    • Gradle Build Scan enabled in CI (Attention! Terms of Service are accepted by the environment variable BUILD_SCAN_TOS_ACCEPTED and the scan enabled by the environment variable CI)
  • Kotlin 1.8.10
  • Spring Boot 3.0.3
  • Dokka 1.7.20
  • Spring Dependency-Management

Additionally, I added a POC how Maven Publishing could work. In another project, I got it to work like this without Spring boot on Gitlab. Unfortunately it doesn't work with the spring boot plugin in this example yet. But I think it can help others to reach their goals.

If there are any questions or suggestions for improvement, issues, discussions and PRs are welcome.

Run it!

The factory:

gradle :message-factory:bootRun

The Dashboard:

gradle :message-dashboard:bootRun

And now visit http://localhost:8080/dashboard/Mr.Bean

You can enter every name in place of "Mr.Bean".

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].