35 lines
871 B
Plaintext
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)
|
|
}
|