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:
1 parent
cb33a7cdb0
commit
1e50200969
16 files changed
+49
-47
No files matched your search
@@ -6,14 +6,14 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
// CliJavaCodeGeneratorOptions exposes CliBaseOptions
|
||||
api(project(":pkl-commons-cli"))
|
||||
api(projects.pklCommonsCli)
|
||||
|
||||
implementation(project(":pkl-commons"))
|
||||
implementation(project(":pkl-core"))
|
||||
implementation(projects.pklCommons)
|
||||
implementation(projects.pklCore)
|
||||
implementation(libs.javaPoet)
|
||||
|
||||
testImplementation(project(":pkl-config-java"))
|
||||
testImplementation(project(":pkl-commons-test"))
|
||||
testImplementation(projects.pklConfigJava)
|
||||
testImplementation(projects.pklCommonsTest)
|
||||
}
|
||||
|
||||
// with `org.gradle.parallel=true` and without the line below, `test` strangely runs into:
|
||||
|
||||
Reference in new issue
Block a user