Replace spotless for Java with kotlinter
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
plugins {
|
||||
id "com.diffplug.spotless" version "6.11.0"
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'org.jmailen.kotlinter' version '3.13.0'
|
||||
}
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
namespace "com.github.gotify"
|
||||
@@ -83,12 +83,3 @@ configurations {
|
||||
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
|
||||
}
|
||||
}
|
||||
|
||||
spotless {
|
||||
java {
|
||||
target '**/*.java'
|
||||
googleJavaFormat().aosp()
|
||||
removeUnusedImports()
|
||||
importOrder('', 'static *')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user