Skip to content

Commit

Permalink
RAC-306 deploy : jacoco ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Feb 1, 2024
1 parent a67801a commit 8515261
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@ plugins {
id 'java'
id 'org.springframework.boot' version '3.1.4'
id 'io.spring.dependency-management' version '1.1.3'

id 'jacoco'
id 'org.sonarqube' version '4.4.1.3373'
}

sonar {
properties {
property 'sonar.host.url', 'https://sonarcloud.io'
property 'sonar.organization', 'we-are-raccoons'
property 'sonar.projectKey', 'WE-ARE-RACCOONS_postgraduate-back'
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml'
}
}

jacocoTestReport {
reports {
xml.required = true
}
}

group = 'com'
Expand Down Expand Up @@ -59,9 +77,9 @@ dependencies {

// Spring boot 3.x์ด์ƒ์—์„œ QueryDsl ํŒจํ‚ค์ง€๋ฅผ ์ •์˜ํ•˜๋Š” ๋ฐฉ๋ฒ•
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'

// prometheus metric
implementation 'org.springframework.boot:spring-boot-starter-actuator'
Expand Down

0 comments on commit 8515261

Please sign in to comment.