-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
38 lines (35 loc) · 1.29 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'dependencies.gradle'
repositories {
google()
mavenCentral()
maven { url 'https://repository.map.naver.com/archive/maven/' }
}
dependencies {
classpath "com.android.tools.build:gradle:$androidBuildToolsVersion"
classpath "com.google.gms:google-services:$gmsVersion"
classpath "com.google.firebase:firebase-crashlytics-gradle:$crashlyticsVersion"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
plugins {
id "com.diffplug.spotless" version "6.11.0" apply false
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlinVersion" apply false
id 'org.jetbrains.kotlin.android' version "$kotlinVersion" apply false
id 'com.google.dagger.hilt.android' version "$hiltVersion" apply false
}
subprojects {
apply plugin: 'com.diffplug.spotless'
spotless {
kotlin {
target '**/*.kt'
targetExclude("$buildDir/**/*.kt")
targetExclude('bin/**/*.kt')
ktlint()
trimTrailingWhitespace()
indentWithSpaces()
}
}
}