mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01: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
@@ -18,12 +18,12 @@ dependencies {
|
||||
// can declare a normal project dependency on this project,
|
||||
// which is desirable for IntelliJ integration.
|
||||
// The published fat JAR doesn't declare any dependencies.
|
||||
api(project(":pkl-cli"))
|
||||
api(project(":pkl-codegen-java"))
|
||||
api(project(":pkl-codegen-kotlin"))
|
||||
api(project(":pkl-config-java"))
|
||||
api(project(":pkl-core"))
|
||||
api(project(":pkl-doc"))
|
||||
api(projects.pklCli)
|
||||
api(projects.pklCodegenJava)
|
||||
api(projects.pklCodegenKotlin)
|
||||
api(projects.pklConfigJava)
|
||||
api(projects.pklCore)
|
||||
api(projects.pklDoc)
|
||||
|
||||
// used by `pklFatJar` plugin (ideally this would be inferred automatically)
|
||||
firstPartySourcesJars(project(":pkl-cli", "sourcesJar"))
|
||||
|
||||
Reference in New Issue
Block a user