/klean-arch-sample

[KOTLIN] [CLEAN ARCHITECTURE] [GRADLE] Sample project with modules to represent a clean architecture. Using Kotlin and Gradle to build

Primary LanguageKotlinApache License 2.0Apache-2.0

KLEAN ARCH SAMPLE

Sample project with modules to represent a clean architecture. Using Kotlin and Gradle to build

IN DEVELOPMENT...

Technologies

Building and Running the application

  • Building the application:
./gradlew clean build
  • Tests

    • All tests:
        ./gradlew check
    
    • Unit tests:
        ./gradlew test
    
    • Integration tests ( marked with @Tag("integration") )
        ./gradlew integrationTest
    
    • To generate jacoco reports after test (output: build/reports/jacoco/jacocoFullReport)
        ./gradlew jacocoFullReport
    
  • Running the application (from the jar, after having built it):

    java -jar build/klean-arch.jar
  • Running the application (on the fly):
    ./gradlew bootRun
  • Running the application (in the IDE): open and run the main class ( Configuration module )
    br.com.helpdev.kleanarch.Application
  • More info on available tasks:
    ./gradlew tasks

Resources