Build & Test

Build

  • Build: ./gradlew build

  • Run (local profile): SPRING_PROFILES_ACTIVE=local ./gradlew bootRun

  • Boot jar output: build/libs/*.jar (see Dockerfile.simple)

Dependency access

The build uses GitHub Packages for internal artifacts (build.gradle):

  • GITHUB_USERNAME

  • GITHUB_TOKEN

Test suites

Tests use JUnit 5 tags and Gradle tasks (build.gradle):

  • test – excludes integration and e2e

  • integrationTestMySql – integration tests against MySQL Testcontainer

  • integrationTestOracle – integration tests against Oracle XE Testcontainer

Coverage gates (Jacoco):

  • line coverage ≥ 0.90

  • branch coverage ≥ 0.85

Testcontainers requirements

Integration tests require Docker access. By default the build auto-detects Docker and the minimum API version; you only need to set overrides if you are using a non-standard daemon:

  • DOCKER_HOST

  • TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE

  • DOCKER_API_VERSION (optional override)