java-commons/commons-gson-dsl/build.gradle.kts
JFronny ef507aad1b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Enhance DSL
2023-07-06 15:39:07 +02:00

35 lines
871 B
Plaintext

import io.gitlab.jfronny.scripts.*
plugins {
id("commons.library")
kotlin("jvm")
}
dependencies {
implementation(project(":commons-gson"))
testImplementation(kotlin("test"))
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.gitlab.jfronny"
artifactId = "commons-gson-dsl"
from(components["java"])
}
}
}
tasks.compileKotlin {
destinationDirectory = tasks.compileJava.get().destinationDir
}
tasks.javadoc {
enabled = false
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons/$version/raw", project(":"))
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons-gson/$version/raw", project(":commons-gson"))
//TODO link gson javadoc (harder to generate than expected)
}