mirror of
https://github.com/apple/pkl.git
synced 2026-07-05 20:51:51 +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
@@ -45,7 +45,7 @@ dependencies {
|
||||
|
||||
compileOnly(libs.jsr305)
|
||||
// pkl-core implements pkl-executor's ExecutorSpi, but the SPI doesn't ship with pkl-core
|
||||
compileOnly(project(":pkl-executor"))
|
||||
compileOnly(projects.pklExecutor)
|
||||
|
||||
implementation(libs.antlrRuntime)
|
||||
implementation(libs.truffleApi)
|
||||
@@ -57,7 +57,7 @@ dependencies {
|
||||
|
||||
implementation(libs.snakeYaml)
|
||||
|
||||
testImplementation(project(":pkl-commons-test"))
|
||||
testImplementation(projects.pklCommonsTest)
|
||||
|
||||
add("generatorImplementation", libs.javaPoet)
|
||||
add("generatorImplementation", libs.truffleApi)
|
||||
|
||||
Reference in New Issue
Block a user