-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
30 lines (27 loc) · 948 Bytes
/
build.gradle
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
plugins {
id 'com.android.application' version '7.2.2' apply false
id 'com.android.library' version '7.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id 'org.jetbrains.kotlin.jvm' version '1.8.10' apply false
id 'io.github.gradle-nexus.publish-plugin' version "1.1.0" apply true
id 'com.diffplug.spotless' version "6.9.0" apply false
id 'org.jetbrains.dokka' version "1.7.10" apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
apply plugin: 'com.diffplug.spotless'
spotless {
kotlin {
licenseHeaderFile project.rootProject.file('spotless/copyright.kt')
target "**/*.kt"
}
format 'misc', {
target '**/*.gradle', '**/*.md', '**/.gitignore'
trimTrailingWhitespace()
indentWithTabs()
}
}
}
apply from: "${projectDir}/scripts/publish-root.gradle"