mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 10:37:51 +02:00
add ktlint (#2633)
This commit is contained in:
@ -5,6 +5,8 @@ apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'com.github.zellius.shortcut-helper'
|
||||
apply plugin: "org.jmailen.kotlinter"
|
||||
|
||||
|
||||
shortcutHelper.filePath = './shortcuts.xml'
|
||||
|
||||
@ -264,6 +266,9 @@ androidExtensions {
|
||||
experimental = true
|
||||
}
|
||||
|
||||
preBuild.dependsOn(lintKotlin)
|
||||
lintKotlin.dependsOn(formatKotlin)
|
||||
|
||||
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Standard")) {
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
}
|
||||
|
Reference in New Issue
Block a user