2023-02-25 11:06:51 -05:00
|
|
|
plugins {
|
2023-06-23 13:09:24 -04:00
|
|
|
id("org.jetbrains.kotlin.jvm")
|
|
|
|
id("java-library")
|
|
|
|
id("org.jlleitschuh.gradle.ktlint") version "11.4.2"
|
2023-02-25 11:06:51 -05:00
|
|
|
}
|
|
|
|
|
2023-08-16 15:29:45 -03:00
|
|
|
val signalJavaVersion: JavaVersion by rootProject.extra
|
|
|
|
|
2023-02-25 11:06:51 -05:00
|
|
|
java {
|
2023-08-16 15:29:45 -03:00
|
|
|
sourceCompatibility = signalJavaVersion
|
|
|
|
targetCompatibility = signalJavaVersion
|
2023-02-25 11:06:51 -05:00
|
|
|
}
|
|
|
|
|
2023-02-25 11:58:10 -05:00
|
|
|
// NOTE: For now, in order to run ktlint on this project, you have to manually run ./gradlew :build-logic:tools:ktlintFormat
|
|
|
|
// Gotta figure out how to get it auto-included in the normal ./gradlew ktlintFormat
|
|
|
|
ktlint {
|
2023-06-23 13:09:24 -04:00
|
|
|
version.set("0.49.1")
|
2023-02-25 11:58:10 -05:00
|
|
|
}
|
|
|
|
|
2023-02-25 11:06:51 -05:00
|
|
|
dependencies {
|
2023-09-08 16:29:31 -04:00
|
|
|
implementation(gradleApi())
|
|
|
|
|
2023-06-23 13:09:24 -04:00
|
|
|
implementation(libs.dnsjava)
|
|
|
|
testImplementation(testLibs.junit.junit)
|
|
|
|
testImplementation(testLibs.mockk)
|
2023-02-25 11:58:10 -05:00
|
|
|
}
|