Build & Test
Build
-
Build:
./gradlew build -
Run (local profile):
SPRING_PROFILES_ACTIVE=local ./gradlew bootRun -
Boot jar output:
build/libs/*.jar(seeDockerfile.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– excludesintegrationande2e -
integrationTestMySql– integration tests against MySQL Testcontainer -
integrationTestOracle– integration tests against Oracle XE Testcontainer
Coverage gates (Jacoco):
-
line coverage ≥ 0.90
-
branch coverage ≥ 0.85