From c3a7bb651c6355ee5f0b7ae7d5d071436449882d Mon Sep 17 00:00:00 2001 From: Karthik Date: Mon, 10 Aug 2026 18:11:49 -0400 Subject: [PATCH 1/2] [generated] Release version 1.3.3 --- README.md | 4 ++-- gradle.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6184b96..f2e9fe0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Java client is hosted on Maven Central. #### Gradle Add the following dependency block to your `build.gradle`. ```java -implementation 'ai.chalk:chalk-java:1.3.2' +implementation 'ai.chalk:chalk-java:1.3.3' ``` #### Maven @@ -22,7 +22,7 @@ Add the following dependency block to your `pom.xml`. ai.chalk chalk-java - 1.3.2 + 1.3.3 ``` diff --git a/gradle.properties b/gradle.properties index 625fcb4..46f16aa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.3.2 \ No newline at end of file +version=1.3.3 \ No newline at end of file From cdd2bbe222c7949a7857f8651bb51a5ecb463ceb Mon Sep 17 00:00:00 2001 From: Karthik Karuppiah Date: Mon, 24 Aug 2026 15:17:34 -0700 Subject: [PATCH 2/2] Add sources and javadoc jars to chalk-java-shaded publication Central requires sources and javadoc on every component, and both coordinates upload as a single deployment bundle -- so the incomplete chalk-java-shaded component failed validation and took chalk-java 1.3.3 down with it. Both publish runs (8/10, 8/14) uploaded successfully and were rejected server-side afterward, which is why CI stayed green with nothing on Central. Reuse the unshaded jars: relocation is a bytecode rewrite, so the sources are identical and the public ai.chalk.* API is unrelocated. Deferred to afterEvaluate because the vanniktech plugin registers both tasks after this file evaluates. --- build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle b/build.gradle index 9f91958..6ee6429 100644 --- a/build.gradle +++ b/build.gradle @@ -186,6 +186,17 @@ publishing { } } +// Central rejects any component missing sources/javadoc, and one bad component fails the whole +// deployment bundle — which would take chalk-java down with it. Reuse the unshaded jars: relocation +// is a bytecode rewrite, so the sources are identical and the public ai.chalk.* API is unrelocated. +// Deferred to afterEvaluate because the vanniktech plugin registers both tasks after this file runs. +afterEvaluate { + publishing.publications.named('shaded') { + artifact(tasks.named('sourcesJar')) { classifier = 'sources' } + artifact(tasks.named('mavenPlainJavadocJar')) { classifier = 'javadoc' } + } +} + // With two publications (maven + shaded), both sign tasks write their .asc into build/libs, and each // publish task reads from build/libs — so Gradle's strict validation flags an implicit dependency // between publish and the *other* publication's sign task and fails the build. Order all publish