Skip to content

Commit

Permalink
bump gradle, spring, bind sonarqube in container
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskirchenj committed Oct 21, 2023
1 parent 995269c commit b63d769
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .idea/sonarlint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 26 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
plugins {
java
id("org.springframework.boot") version "3.1.3"
id("org.springframework.boot") version "3.1.5"
id("io.spring.dependency-management") version "1.1.3"
id("org.sonarqube") version "4.2.1.3168"
//id("org.sonarqube") version "4.3.1.3277"
jacoco
}

group = "de.cofinpro"
Expand All @@ -13,6 +16,28 @@ configurations {
}
}

tasks.jacocoTestReport {
dependsOn(tasks.test)
reports {
xml.required.set(true)
}
}

sonar {
properties {
property("sonar.projectKey", "expenses-splitter")
property("sonar.projectName", "expenses-splitter")
property("sonar.jacoco.reportPaths", "build/reports/jacoco")
property("sonar.junit.reportPaths", "build/test-results/test")
property("sonar.token", "sqp_d436210e94100d7ef46cf7a5c9ffabcafdd12657")
property("sonar.host.url", "http://localhost:9000")
}
}

tasks.sonar {
dependsOn(tasks.jacocoTestReport)
}

repositories {
mavenCentral()
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
1 change: 1 addition & 0 deletions lombok.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lombok.addLombokGeneratedAnnotation = true

0 comments on commit b63d769

Please sign in to comment.