mirror of
https://github.com/apple/pkl.git
synced 2026-03-26 19:11:12 +01:00
- fix: make version catalog accessible from `buildSrc` plugins - chore: declare `googleFormatVersion` in version catalog - chore: declare `ktfmt` in version catalog Relates-To: apple/pkl#204 Signed-off-by: Sam Gammon <sam@elide.ventures>
22 lines
604 B
Kotlin
22 lines
604 B
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.downloadTaskPlugin)
|
|
implementation(libs.spotlessPlugin)
|
|
implementation(libs.kotlinPlugin) {
|
|
exclude(module = "kotlin-android-extensions")
|
|
}
|
|
implementation(libs.shadowPlugin)
|
|
|
|
// fix from the Gradle team: makes version catalog symbols available in build scripts
|
|
// see here for more: https://github.com/gradle/gradle/issues/15383
|
|
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|