Convert build-logic build.gradle to kotlin.

This commit is contained in:
Greyson Parrelli
2023-02-27 19:44:51 -05:00
parent 40f86ed2be
commit f91c400f6c
15 changed files with 246 additions and 167 deletions

View File

@@ -0,0 +1,28 @@
plugins {
`kotlin-dsl`
id("groovy-gradle-plugin")
id("org.jlleitschuh.gradle.ktlint") version "11.1.0"
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinDslPluginOptions {
jvmTarget.set("11")
}
dependencies {
implementation(libs.kotlin.gradle.plugin)
implementation(libs.android.library)
implementation(libs.android.application)
implementation(project(":tools"))
implementation(libs.ktlint)
// These allow us to reference the dependency catalog inside of our compiled plugins
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
implementation(files(testLibs.javaClass.superclass.protectionDomain.codeSource.location))
}