composite-build-usage-example

0

Описание

Java project build externalization by put its config into separate repository

Языки

  • Java99,2%
  • Kotlin0,8%
README.MD

Composite Build usage example

Java CI with Gradle Coverage Branches

Based on this Spring Boot app template. Sources was not changed almost, only build script adjusted

Prerequisites

  • JDK 21
  • Docker

Approach description

Composite Build is externalization of build by put dependencies and plugins into separate Git repository (which added to project as Git submodule)

After that build script looks like this:

service(version = "0.0.1") { dependencies { springBoot { web() test() dataJpa() validation() ... } lombok() apacheCommonsLang() mapstruct() springFox() postgres() flywayCore() testContainers() postgresTestContainers() ... } }

How to build

git submodule init git submodule update gradlew clean build