mirror of
https://github.com/apple/pkl.git
synced 2026-03-14 14:11:21 +01:00
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:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user