2023-02-23 14:31:06 +01:00
|
|
|
import io.gitlab.jfronny.scripts.*
|
|
|
|
|
2022-11-01 18:55:17 +01:00
|
|
|
plugins {
|
2024-03-09 12:37:38 +01:00
|
|
|
commons.library
|
2022-11-01 18:55:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-03-09 12:37:38 +01:00
|
|
|
api(libs.gson)
|
|
|
|
implementation(projects.commons)
|
|
|
|
implementation(projects.commonsSerialize)
|
2022-11-01 18:55:17 +01:00
|
|
|
|
2024-03-09 12:37:38 +01:00
|
|
|
testImplementation(libs.junit.jupiter.api)
|
|
|
|
testRuntimeOnly(libs.junit.jupiter.engine)
|
2022-11-01 18:55:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
groupId = "io.gitlab.jfronny"
|
2023-09-21 21:08:40 +02:00
|
|
|
artifactId = "commons-serialize-gson"
|
2022-11-01 18:55:17 +01:00
|
|
|
|
2022-12-29 16:49:38 +01:00
|
|
|
from(components["java"])
|
2022-11-01 18:55:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-23 14:31:06 +01:00
|
|
|
|
|
|
|
tasks.javadoc {
|
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-02-23 14:31:06 +01:00
|
|
|
//TODO link gson javadoc (harder to generate than expected)
|
|
|
|
}
|