Create plugin for linting (#8942)

This commit is contained in:
Andreas
2023-01-19 04:33:56 +01:00
committed by GitHub
parent b56b8b55b4
commit c31e75f02f
15 changed files with 45 additions and 38 deletions

View File

@ -6,6 +6,7 @@ plugins {
id("com.android.application")
id("com.mikepenz.aboutlibraries.plugin")
kotlin("android")
id("tachiyomi.lint")
kotlin("plugin.serialization")
id("com.github.zellius.shortcut-helper")
id("com.squareup.sqldelight")
@ -346,11 +347,6 @@ tasks {
)
}
}
preBuild {
val ktlintTask = if (System.getenv("GITHUB_BASE_REF") == null) formatKotlin else lintKotlin
dependsOn(ktlintTask)
}
}
buildscript {