mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 11:08:31 +00:00
Use more plugin aliases.
This commit is contained in:
@@ -2,8 +2,8 @@ import org.gradle.kotlin.dsl.extra
|
||||
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
alias(libs.plugins.ktlint)
|
||||
id("groovy-gradle-plugin")
|
||||
id("org.jlleitschuh.gradle.ktlint") version "12.1.1"
|
||||
}
|
||||
|
||||
val signalJavaVersion: JavaVersion by rootProject.extra
|
||||
@@ -24,8 +24,8 @@ dependencies {
|
||||
implementation(libs.kotlin.gradle.plugin)
|
||||
implementation(libs.android.library)
|
||||
implementation(libs.android.application)
|
||||
implementation(project(":tools"))
|
||||
implementation(libs.ktlint)
|
||||
implementation(project(":tools"))
|
||||
|
||||
// These allow us to reference the dependency catalog inside of our compiled plugins
|
||||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
||||
|
||||
@@ -16,6 +16,8 @@ val signalJavaVersion: JavaVersion by rootProject.extra
|
||||
val signalKotlinJvmTarget: String by rootProject.extra
|
||||
|
||||
plugins {
|
||||
// We cannot use the version catalog in the plugins block in convention plugins (it's not supported).
|
||||
// Instead, plugin versions are controlled through the dependencies block in the build.gradle.kts.
|
||||
id("com.android.library")
|
||||
id("kotlin-android")
|
||||
id("ktlint")
|
||||
|
||||
@@ -18,6 +18,8 @@ val signalJavaVersion: JavaVersion by rootProject.extra
|
||||
val signalKotlinJvmTarget: String by rootProject.extra
|
||||
|
||||
plugins {
|
||||
// We cannot use the version catalog in the plugins block in convention plugins (it's not supported).
|
||||
// Instead, plugin versions are controlled through the dependencies block in the build.gradle.kts.
|
||||
id("com.android.application")
|
||||
id("kotlin-android")
|
||||
id("ktlint")
|
||||
|
||||
Reference in New Issue
Block a user