Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,7 +22,7 @@ Add the following dependency block to your `pom.xml`.
<dependency>
<groupId>ai.chalk</groupId>
<artifactId>chalk-java</artifactId>
<version>1.3.2</version>
<version>1.3.3</version>
</dependency>
</dependencies>
```
Expand Down
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.3.2
version=1.3.3
Loading