From 550f7dde2db737ad6d4186a3f439894d1e0455f2 Mon Sep 17 00:00:00 2001 From: brandl Date: Tue, 15 Oct 2024 15:59:49 +0200 Subject: [PATCH] Add Javadoc and sources JAR tasks; upgrade plugin version Added tasks to create Javadoc and sources JAR files in multiple modules. Upgraded the `io.github.gradle-nexus.publish-plugin` to version 2.0.0. Removed release placeholder from user documentation. --- build.gradle.kts | 4 ++-- docs/userguide/docs/changes.md | 1 - modules/kravis/build.gradle.kts | 6 ++++++ modules/letsplot/build.gradle.kts | 6 ++++++ modules/notebook/build.gradle.kts | 6 ++++++ 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d3f1fd93..33d995b4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,10 +5,10 @@ plugins { `maven-publish` signing - id("io.github.gradle-nexus.publish-plugin") version "1.2.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" } -version = "1.0" +version = "1.0.0" allprojects { diff --git a/docs/userguide/docs/changes.md b/docs/userguide/docs/changes.md index feb123fa..bb8ede9b 100644 --- a/docs/userguide/docs/changes.md +++ b/docs/userguide/docs/changes.md @@ -2,7 +2,6 @@ ## 1.0 -!! not yet released! Major & Breaking API Changes diff --git a/modules/kravis/build.gradle.kts b/modules/kravis/build.gradle.kts index 9d05f062..b960f7d7 100644 --- a/modules/kravis/build.gradle.kts +++ b/modules/kravis/build.gradle.kts @@ -61,6 +61,12 @@ publishing { } +java { + withJavadocJar() + withSourcesJar() +} + + signing { sign(publishing.publications["maven"]) diff --git a/modules/letsplot/build.gradle.kts b/modules/letsplot/build.gradle.kts index bf1ec617..e5b022de 100644 --- a/modules/letsplot/build.gradle.kts +++ b/modules/letsplot/build.gradle.kts @@ -63,6 +63,12 @@ publishing { } +java { + withJavadocJar() + withSourcesJar() +} + + signing { sign(publishing.publications["maven"]) diff --git a/modules/notebook/build.gradle.kts b/modules/notebook/build.gradle.kts index 0bb272ac..d29608ff 100644 --- a/modules/notebook/build.gradle.kts +++ b/modules/notebook/build.gradle.kts @@ -66,6 +66,12 @@ publishing { } +java { + withJavadocJar() + withSourcesJar() +} + + signing { sign(publishing.publications["maven"]) }