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

35 lines
880 B
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 {
api(projects.commonsSerialize)
2023-07-06 15:39:07 +02:00
testImplementation(kotlin("test"))
testImplementation(projects.commonsSerializeJson)
2023-07-06 15:05:35 +02:00
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "io.gitlab.jfronny"
artifactId = "commons-serialize-dsl"
2023-07-06 15:05:35 +02:00
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)
2023-07-06 15:05:35 +02:00
}