Fix download links (#1162)

* Snapshot repo has changed
* Fix a bug where pkl-codegen-java download link points to Sonatype instead of GitHub

Not in the PR: we also need to fix the snapshot download location;
but haven't figured out yet what the correct link is.
This commit is contained in:
Daniel Chao
2025-07-31 08:43:24 -07:00
committed by GitHub
parent 20e7e251ec
commit 78ba6bf758
4 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ include::ROOT:partial$component-attributes.adoc[]
:uri-pkl-codegen-java-download: {uri-sonatype-snapshot-download}&a=pkl-cli-codegen-java&e=jar
ifdef::is-release-version[]
:uri-pkl-cli-codegen-java-download: {github-releases}/pkl-codegen-java
:uri-pkl-codegen-java-download: {github-releases}/pkl-codegen-java
endif::[]
The Java source code generator takes Pkl class definitions as an input, and generates corresponding Java classes with equally named properties.
@@ -33,7 +33,7 @@ The `pkl-codegen-java` library is available {uri-pkl-codegen-java-maven-module}[
It requires Java 17 or higher.
ifndef::is-release-version[]
NOTE: Snapshots are published to repository `{uri-sonatype}`.
NOTE: Snapshots are published to repository `{uri-snapshot-repo}`.
endif::[]
==== Gradle