Fix docs pointing to wrong maven repo (#106)

This commit is contained in:
Daniel Chao
2024-02-12 08:24:22 -08:00
committed by GitHub
parent db55c527c6
commit 6f915e5b90
7 changed files with 82 additions and 43 deletions

View File

@@ -39,11 +39,14 @@ dependencies {
compile "org.pkl-lang:pkl-core:{pkl-artifact-version}"
}
ifndef::is-release-build[]
repositories {
maven { url "{uri-sonatype}" }
}
ifdef::is-release-version[]
mavenCentral()
endif::[]
ifndef::is-release-version[]
maven { url "{uri-sonatype}" }
endif::[]
}
----
Kotlin::
@@ -55,11 +58,14 @@ dependencies {
compile("org.pkl-lang:pkl-core:{pkl-artifact-version}")
}
ifndef::is-release-build[]
repositories {
maven { url = uri("{uri-sonatype}") }
}
ifdef::is-release-version[]
mavenCentral()
endif::[]
ifndef::is-release-version[]
maven { url = uri("{uri-sonatype}") }
endif::[]
}
----
====
@@ -76,7 +82,7 @@ To use the library in a Maven project, declare the following dependency:
<artifactId>pkl-core</artifactId>
<version>{pkl-artifact-version}</version>
</dependency>
ifndef::is-release-build[]
ifndef::is-release-version[]
<repositories>
<repository>
<id>sonatype-s01</id>