import io.gitlab.jfronny.scripts.* plugins { id("commons.library") kotlin("jvm") } dependencies { implementation(project(":commons-serialize-gson")) testImplementation(kotlin("test")) } publishing { publications { create("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(":commons")) 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")) //TODO link gson javadoc (harder to generate than expected) }