2023-07-06 15:05:35 +02:00
|
|
|
import io.gitlab.jfronny.scripts.*
|
|
|
|
|
|
|
|
plugins {
|
2024-03-09 12:37:38 +01:00
|
|
|
commons.library
|
2023-07-06 15:05:35 +02:00
|
|
|
kotlin("jvm")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-04-13 14:21:28 +02:00
|
|
|
api(projects.commonsSerialize)
|
2023-07-06 15:39:07 +02:00
|
|
|
|
|
|
|
testImplementation(kotlin("test"))
|
2024-04-13 14:21:28 +02:00
|
|
|
testImplementation(projects.commonsSerializeJson)
|
2023-07-06 15:05:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
groupId = "io.gitlab.jfronny"
|
2024-04-13 14:21:28 +02:00
|
|
|
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
|
2024-03-09 12:37:38 +01:00
|
|
|
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
|
|
|
}
|