java-commons/commons-logger/build.gradle.kts
JFronny a67d1dbbd6
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: replace commons-logging with slf4j-based commons-logger and use type-safe dependency DSLs
The only reason it needed to be separate was logging during ultra early init in Minecraft. I can figure out something else for that.
2024-03-09 12:37:38 +01:00

30 lines
664 B
Plaintext

import io.gitlab.jfronny.scripts.*
plugins {
commons.library
}
dependencies {
implementation(libs.slf4j.api)
implementation(projects.commons)
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.gitlab.jfronny"
artifactId = "commons-logger"
from(components["java"])
}
}
}
tasks.javadoc {
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons/$version/raw", projects.commons)
opts.links("https://www.slf4j.org/apidocs")
}