java-commons/commons-gson/build.gradle.kts

30 lines
747 B
Plaintext

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