-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (31 loc) · 749 Bytes
/
build.gradle
File metadata and controls
36 lines (31 loc) · 749 Bytes
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
buildscript {
ext {
androidProjectCommon = "${rootDir}/android_project_common.gradle"
androidModuleCommon = "${rootDir}/android_module_common.gradle"
}
apply from: "${androidProjectCommon}"
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}
// Add plugin for 'spotless'
plugins {
id("com.diffplug.spotless") version "5.16.0"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
spotless {
kotlin {
target "**/*.kt"
ktlint(versions.ktlint).userData(['indent_size' : 'unset'])
}
}