mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Convert build-logic build.gradle to kotlin.
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.jvm" version "1.8.0"
|
||||
id "java-library"
|
||||
id "org.jlleitschuh.gradle.ktlint" version "11.1.0"
|
||||
id("org.jetbrains.kotlin.jvm") version "1.6.21"
|
||||
id("java-library")
|
||||
id("org.jlleitschuh.gradle.ktlint") version "11.1.0"
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
// 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 {
|
||||
// Use a newer version to resolve https://github.com/JLLeitschuh/ktlint-gradle/issues/507
|
||||
version = "0.47.1"
|
||||
version.set("0.47.1")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.dnsjava
|
||||
implementation(libs.dnsjava)
|
||||
}
|
||||
Reference in New Issue
Block a user