mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Let Renovate upgrade KtLint version.
And move detekt version to quality section.
This commit is contained in:
committed by
Benoit Marty
parent
c30741a048
commit
d6e11ca07a
+5
-3
@@ -1,3 +1,5 @@
|
||||
import org.gradle.accessors.dm.LibrariesForLibs
|
||||
|
||||
/*
|
||||
* Copyright 2022-2024 New Vector Ltd.
|
||||
*
|
||||
@@ -27,6 +29,8 @@ tasks.register<Delete>("clean").configure {
|
||||
delete(rootProject.layout.buildDirectory)
|
||||
}
|
||||
|
||||
private val ktLintVersion = the<LibrariesForLibs>().versions.ktlint.get()
|
||||
|
||||
allprojects {
|
||||
// Detekt
|
||||
apply {
|
||||
@@ -56,9 +60,7 @@ allprojects {
|
||||
|
||||
// See https://github.com/JLLeitschuh/ktlint-gradle#configuration
|
||||
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
|
||||
// See https://github.com/pinterest/ktlint/releases/
|
||||
// TODO Regularly check for new version here ^
|
||||
version.set("1.7.1")
|
||||
version = ktLintVersion
|
||||
android.set(true)
|
||||
ignoreFailures.set(false)
|
||||
enableExperimentalRules.set(true)
|
||||
|
||||
Reference in New Issue
Block a user