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

36 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-07-06 15:05:35 +02:00
import io.gitlab.jfronny.scripts.*
plugins {
commons.library
2023-07-06 15:05:35 +02:00
kotlin("jvm")
}
dependencies {
implementation(projects.commonsGson)
2023-07-06 15:39:07 +02:00
testImplementation(kotlin("test"))
2023-07-06 15:05:35 +02:00
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.gitlab.jfronny"
artifactId = "commons-gson-dsl"
from(components["java"])
}
}
}
2023-07-06 15:39:07 +02:00
tasks.compileKotlin {
2023-09-22 19:07:05 +02:00
destinationDirectory = tasks.compileJava.get().destinationDirectory.asFile.orNull
2023-07-06 15:39:07 +02:00
}
2023-07-06 15:05:35 +02:00
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)
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons-gson/$version/raw", projects.commonsGson)
2023-07-06 15:05:35 +02:00
//TODO link gson javadoc (harder to generate than expected)
}