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 {
id("commons.library")
kotlin("jvm")
}
dependencies {
2023-09-21 21:08:40 +02:00
implementation(project(":commons-serialize-gson"))
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 {
destinationDirectory = tasks.compileJava.get().destinationDir
}
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", project(":commons"))
2023-09-21 21:08:40 +02:00
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons-gson/$version/raw", project(":commons-serialize"))
linksOffline("https://maven.frohnmeyer-wds.de/javadoc/artifacts/io/gitlab/jfronny/commons-gson/$version/raw", project(":commons-serialize-gson"))
2023-07-06 15:05:35 +02:00
//TODO link gson javadoc (harder to generate than expected)
}