mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 19:34:58 -05:00
f2858940ca
This shows slf4j info logs in tests.
53 lines
1 KiB
Text
53 lines
1 KiB
Text
plugins {
|
|
id("mcprotocollib.publish-conventions")
|
|
jacoco
|
|
}
|
|
|
|
version = "1.21-SNAPSHOT"
|
|
description = "MCProtocolLib is a simple library for communicating with Minecraft clients and servers."
|
|
|
|
dependencies {
|
|
// Minecraft related libraries
|
|
api(libs.cloudburstnbt)
|
|
|
|
// Gson
|
|
api(libs.gson)
|
|
|
|
// MinecraftAuth for authentication
|
|
api(libs.minecraftauth)
|
|
|
|
// Slf4j
|
|
api(libs.slf4j.api)
|
|
|
|
// Kyori adventure
|
|
api(libs.bundles.adventure)
|
|
|
|
// Math utilities
|
|
api(libs.bundles.math)
|
|
|
|
// Stripped down fastutil
|
|
api(libs.bundles.fastutil)
|
|
|
|
// Netty
|
|
api(libs.bundles.netty)
|
|
|
|
// Checker Framework
|
|
api(libs.checkerframework.qual)
|
|
|
|
// Test dependencies
|
|
testImplementation(libs.junit.jupiter)
|
|
testImplementation(libs.slf4j.simple)
|
|
}
|
|
|
|
tasks.test {
|
|
finalizedBy(tasks.jacocoTestReport)
|
|
}
|
|
|
|
tasks.jacocoTestReport {
|
|
dependsOn(tasks.test)
|
|
reports {
|
|
xml.required = false
|
|
csv.required = false
|
|
html.outputLocation = layout.buildDirectory.dir("jacocoHtml")
|
|
}
|
|
}
|