forked from osfans/trime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
31 lines (29 loc) · 1.02 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* The buildscript block is where you configure the repositories and
* dependencies for Gradle itself--meaning, you should not include dependencies
* for your modules here. For example, this block includes the Android plugin for
* Gradle as a dependency because it provides the additional instructions Gradle
* needs to build Android app modules.
*/
plugins {
id("com.android.application") version "7.4.2" apply false
id("com.android.library") version "7.4.2" apply false
kotlin("android") version Extra.kotlinVersion apply false
id("com.diffplug.spotless") version "6.17.0"
id("com.mikepenz.aboutlibraries.plugin") version "10.6.1" apply false
}
spotless {
java {
importOrder()
removeUnusedImports()
target("app/src/main/java/com/osfans/trime/**/*.java")
googleJavaFormat("1.16.0")
}
kotlin {
target("app/src/main/java/com/osfans/trime/**/*.kt")
ktlint("0.48.2")
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
}