forked from osfans/trime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
31 lines (29 loc) · 1013 Bytes
/
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 "8.0.2" apply false
id("com.android.library") version "8.0.2" apply false
kotlin("android") version Extra.kotlinVersion apply false
id("com.diffplug.spotless") version "6.20.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.17.0")
}
kotlin {
target("**/*.kt")
ktlint("0.50.0")
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
}