java-commons/commons-serialize-dsl/build.gradle.kts
JFronny 42a9c78709
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat(serialize-dsl): port serialize-gson-dsl to commons-serialization
2024-04-13 14:21:28 +02:00

35 lines
880 B
Plaintext

import io.gitlab.jfronny.scripts.*
plugins {
commons.library
kotlin("jvm")
}
dependencies {
api(projects.commonsSerialize)
testImplementation(kotlin("test"))
testImplementation(projects.commonsSerializeJson)
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.gitlab.jfronny"
artifactId = "commons-serialize-dsl"
from(components["java"])
}
}
}
tasks.compileKotlin {
destinationDirectory = tasks.compileJava.get().destinationDirectory.asFile.orNull
}
tasks.javadoc {
enabled = false
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)
}