Update Gradle syntax in docs (#210)

Replace the legacy "compile" scope with "implementation".
This matches Maven Central's recommended syntax:
https://central.sonatype.com/artifact/org.pkl-lang/pkl-core
This commit is contained in:
translatenix
2024-02-20 21:02:45 -08:00
committed by GitHub
parent 91367ed065
commit 6175d16d6a
6 changed files with 12 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ Groovy::
[source,groovy,subs="+attributes"]
----
dependencies {
compile "org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}"
implementation "org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}"
}
repositories {
@@ -61,7 +61,7 @@ Kotlin::
[source,kotlin,subs="+attributes"]
----
dependencies {
compile("org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}")
implementation("org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}")
}
repositories {

View File

@@ -37,7 +37,7 @@ Groovy::
[source,groovy,subs="+attributes"]
----
dependencies {
compile "org.pkl-lang:pkl-config-java:{pkl-artifact-version}"
implementation "org.pkl-lang:pkl-config-java:{pkl-artifact-version}"
}
ifdef::is-release-version[]
@@ -59,7 +59,7 @@ Kotlin::
[source,kotlin,subs="+attributes"]
----
dependencies {
compile("org.pkl-lang:pkl-config-java:{pkl-artifact-version}")
implementation("org.pkl-lang:pkl-config-java:{pkl-artifact-version}")
}
repositories {