Skip to content

Commit

Permalink
disable coverage check of standalone main
Browse files Browse the repository at this point in the history
as there's no useful way of testing this

Signed-off-by: Kai Helbig <[email protected]>
  • Loading branch information
ostrya committed Jan 20, 2025
1 parent e10ae71 commit 05fda28
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion standalone/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ dependencies {
implementation "org.slf4j:slf4j-simple:$slf4j_version"
}

sonar {
properties {
property "sonar.coverage.exclusions", "src/main/java/com/tngtech/keycloakmock/standalone/Main.java"
}
}

application {
mainClass = 'com.tngtech.keycloakmock.standalone.Main'
}
Expand All @@ -85,7 +91,7 @@ jib {
image = 'eclipse-temurin:21-jre'
}
to {
image = 'keycloak-mock/standalone'
image = 'standalone'
}
container {
ports = ['8000']
Expand Down

0 comments on commit 05fda28

Please sign in to comment.