Skip to content

Commit

Permalink
🐛 add jacoco plugin to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Jul 23, 2024
1 parent 3bec9de commit 7c04eb3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'java'
id 'org.springframework.boot' version '3.2.7'
id 'io.spring.dependency-management' version '1.1.5'
id 'jacoco'
}

group = 'net.pengcook'
Expand All @@ -28,7 +29,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
implementation 'com.google.firebase:firebase-admin:9.3.0'
implementation 'com.auth0:java-jwt:4.4.0'
implementation 'com.auth0:java-jwt:4.4.0'

runtimeOnly 'mysql:mysql-connector-java:8.0.33'
runtimeOnly 'com.h2database:h2'
Expand All @@ -50,10 +51,10 @@ jar {
}

jacocoTestReport {
dependsOn test
reports {
xml.required = true
csv.required = false
html.required = false
}
dependsOn test
reports {
xml.required = true
csv.required = false
html.required = false
}
}

0 comments on commit 7c04eb3

Please sign in to comment.