mirror of
https://github.com/apple/pkl.git
synced 2026-04-25 17:58:50 +02:00
Use Gradle typed project accessors
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>
This commit is contained in:
committed by
Philip K.F. Hölzenspies
parent
cb33a7cdb0
commit
1e50200969
@@ -16,11 +16,11 @@ val pklCodegenKotlin: Configuration by configurations.creating
|
||||
configurations.api.get().extendsFrom(pklConfigJava)
|
||||
|
||||
dependencies {
|
||||
pklConfigJava(project(":pkl-config-java"))
|
||||
pklConfigJava(projects.pklConfigJava)
|
||||
|
||||
pklConfigJavaAll(project(":pkl-config-java", "fatJar"))
|
||||
|
||||
pklCodegenKotlin(project(":pkl-codegen-kotlin"))
|
||||
pklCodegenKotlin(projects.pklCodegenKotlin)
|
||||
|
||||
implementation(libs.kotlinReflect)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user