build: rebuild artifacts and update CI workflows
This commit is contained in:
parent
eb85778b8e
commit
812517513f
116 changed files with 27 additions and 8 deletions
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
java
|
||||
id("xyz.jpenilla.run-paper") version "2.3.1"
|
||||
jacoco
|
||||
}
|
||||
|
||||
group = "com.loki"
|
||||
|
|
@ -46,6 +47,19 @@ tasks.test {
|
|||
useJUnitPlatform()
|
||||
maxParallelForks = Runtime.getRuntime().availableProcessors()
|
||||
setForkEvery(100)
|
||||
finalizedBy(tasks.jacocoTestReport)
|
||||
}
|
||||
|
||||
tasks.jacocoTestReport {
|
||||
dependsOn(tasks.test)
|
||||
reports {
|
||||
xml.required.set(true)
|
||||
html.required.set(true)
|
||||
}
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = "0.8.11"
|
||||
}
|
||||
|
||||
tasks.jar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue