mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-08-22 14:12:48 +02:00
Add jacoco report gradle plugin
This commit is contained in:
@@ -1,11 +1,16 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("java-library")
|
id("java-library")
|
||||||
|
id("jacoco")
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
useJUnitPlatform {}
|
useJUnitPlatform {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
dependsOn test
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.shadow)
|
alias(libs.plugins.shadow)
|
||||||
|
id("jacoco")
|
||||||
|
id("jacoco-report-aggregation")
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 17
|
sourceCompatibility = 17
|
||||||
@@ -13,6 +15,10 @@ test {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
dependsOn test
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':common')
|
implementation project(':common')
|
||||||
compileOnly project(':common:loader-utils')
|
compileOnly project(':common:loader-utils')
|
||||||
|
Reference in New Issue
Block a user