mirror of
https://github.com/apple/pkl.git
synced 2026-07-09 06:25:16 +02: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"]
|
[source,groovy,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}"
|
implementation "org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -61,7 +61,7 @@ Kotlin::
|
|||||||
[source,kotlin,subs="+attributes"]
|
[source,kotlin,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}")
|
implementation("org.pkl-lang:pkl-codegen-java:{pkl-artifact-version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ Groovy::
|
|||||||
[source,groovy,subs="+attributes"]
|
[source,groovy,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
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[]
|
ifdef::is-release-version[]
|
||||||
@@ -59,7 +59,7 @@ Kotlin::
|
|||||||
[source,kotlin,subs="+attributes"]
|
[source,kotlin,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.pkl-lang:pkl-config-java:{pkl-artifact-version}")
|
implementation("org.pkl-lang:pkl-config-java:{pkl-artifact-version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Groovy::
|
|||||||
[source,groovy,subs="+attributes"]
|
[source,groovy,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.pkl-lang:pkl-codegen-kotlin:{pkl-artifact-version}"
|
implementation "org.pkl-lang:pkl-codegen-kotlin:{pkl-artifact-version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -52,7 +52,7 @@ Kotlin::
|
|||||||
[source,kotlin,subs="+attributes"]
|
[source,kotlin,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.pkl-lang:pkl-codegen-kotlin:{pkl-artifact-version}")
|
implementation("org.pkl-lang:pkl-codegen-kotlin:{pkl-artifact-version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Groovy::
|
|||||||
[source,groovy,subs="+attributes"]
|
[source,groovy,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.pkl-lang:pkl-config-kotlin:{pkl-artifact-version}"
|
implementation "org.pkl-lang:pkl-config-kotlin:{pkl-artifact-version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -45,7 +45,7 @@ Kotlin::
|
|||||||
[source,kotlin,subs="+attributes"]
|
[source,kotlin,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.pkl-lang:pkl-config-kotlin:{pkl-artifact-version}")
|
implementation("org.pkl-lang:pkl-config-kotlin:{pkl-artifact-version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ Groovy::
|
|||||||
[source,groovy,subs="+attributes"]
|
[source,groovy,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.pkl-lang:pkl-core:{pkl-artifact-version}"
|
implementation "org.pkl-lang:pkl-core:{pkl-artifact-version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -55,7 +55,7 @@ Kotlin::
|
|||||||
[source,kotlin,subs="+attributes"]
|
[source,kotlin,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.pkl-lang:pkl-core:{pkl-artifact-version}")
|
implementation("org.pkl-lang:pkl-core:{pkl-artifact-version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ Groovy::
|
|||||||
[source,groovy,subs="+attributes"]
|
[source,groovy,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.pkl-lang:pkl-doc:{pkl-artifact-version}"
|
implementation "org.pkl-lang:pkl-doc:{pkl-artifact-version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -111,7 +111,7 @@ Kotlin::
|
|||||||
[source,kotlin,subs="+attributes"]
|
[source,kotlin,subs="+attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.pkl-lang:pkl-doc:{pkl-artifact-version}")
|
implementation("org.pkl-lang:pkl-doc:{pkl-artifact-version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
Reference in New Issue
Block a user