mirror of
https://github.com/apple/pkl.git
synced 2026-03-17 23:03:54 +01:00
This change activates the `TYPESAFE_PROJECT_ACCESSORS` feature preview in Gradle, and switches to such accessors instead of string-based project references, where possible Relates-To: apple/pkl#204 Signed-off-by: Sam Gammon <sam@elide.ventures>
29 lines
677 B
Kotlin
29 lines
677 B
Kotlin
plugins {
|
|
pklAllProjects
|
|
pklKotlinLibrary
|
|
pklPublishLibrary
|
|
}
|
|
|
|
dependencies {
|
|
api(projects.pklCore)
|
|
api(libs.clikt) {
|
|
// force clikt to use our version of the kotlin stdlib
|
|
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk8")
|
|
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-common")
|
|
}
|
|
|
|
implementation(projects.pklCommons)
|
|
testImplementation(projects.pklCommonsTest)
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
named<MavenPublication>("library") {
|
|
pom {
|
|
url.set("https://github.com/apple/pkl/tree/main/pkl-commons-cli")
|
|
description.set("Internal CLI utilities. NOT A PUBLIC API.")
|
|
}
|
|
}
|
|
}
|
|
}
|