-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.gradle
39 lines (32 loc) · 1.08 KB
/
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
31
32
33
34
35
36
37
38
39
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: "dependencies.gradle"
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:${versions.gradle_android}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "de.mannodermaus.gradle.plugins:android-junit5:${versions.junit5_plugin}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.androidx_navigation}"
classpath "com.diffplug.spotless:spotless-plugin-gradle:${versions.spotless}"
}
}
allprojects {
repositories {
google()
jcenter()
}
apply plugin: 'com.diffplug.gradle.spotless'
spotless {
kotlin {
target fileTree('.') {
include '**/*.kt'
exclude 'spotless/copyright.kt'
}
ktlint(versions.ktlint)
licenseHeaderFile(project.rootProject.file('spotless/copyright.kt'))
}
}
}