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
@@ -38,23 +38,23 @@ dependencies {
|
||||
compileOnly(libs.svm)
|
||||
|
||||
// CliEvaluator exposes PClass
|
||||
api(project(":pkl-core"))
|
||||
api(projects.pklCore)
|
||||
// CliEvaluatorOptions exposes CliBaseOptions
|
||||
api(project(":pkl-commons-cli"))
|
||||
api(projects.pklCommonsCli)
|
||||
|
||||
implementation(project(":pkl-commons"))
|
||||
implementation(projects.pklCommons)
|
||||
implementation(libs.jansi)
|
||||
implementation(libs.jlineReader)
|
||||
implementation(libs.jlineTerminal)
|
||||
implementation(libs.jlineTerminalJansi)
|
||||
implementation(project(":pkl-server"))
|
||||
implementation(projects.pklServer)
|
||||
implementation(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")
|
||||
}
|
||||
|
||||
testImplementation(project(":pkl-commons-test"))
|
||||
testImplementation(projects.pklCommonsTest)
|
||||
|
||||
stagedMacAmd64Executable(files("$buildDir/executable/pkl-macos-amd64"))
|
||||
stagedMacAarch64Executable(files("$buildDir/executable/pkl-macos-aarch64"))
|
||||
|
||||
Reference in new issue
Block a user