java-commons/commons-serialize-gson/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

32 lines
864 B
Plaintext

import io.gitlab.jfronny.scripts.*
plugins {
commons.library
}
dependencies {
api(libs.gson)
implementation(projects.commons)
implementation(projects.commonsSerialize)
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.gitlab.jfronny"
artifactId = "commons-serialize-gson"
from(components["java"])
}
}
}
tasks.javadoc {
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons/$version/raw", projects.commons)
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons-serialize/$version/raw", projects.commonsSerialize)
//TODO link gson javadoc (harder to generate than expected)
}