mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-12 23:37:28 +00:00
Add jacoco report gradle plugin
This commit is contained in:
2 files changed
+11
No files matched your search
@@ -1,11 +1,16 @@
|
||||
plugins {
|
||||
id("java-library")
|
||||
id("jacoco")
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform {}
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn test
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
plugins {
|
||||
alias(libs.plugins.shadow)
|
||||
id("jacoco")
|
||||
id("jacoco-report-aggregation")
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
@@ -13,6 +15,10 @@ test {
|
||||
}
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn test
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':common')
|
||||
compileOnly project(':common:loader-utils')
|
||||
|
||||
Reference in new issue
Block a user