-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
41 lines (38 loc) · 1.12 KB
/
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
32
33
34
35
36
37
38
39
40
41
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath(libs.android.build)
classpath(libs.kotlin.gradle)
classpath(libs.androidx.navigation.safeargs)
classpath(libs.hilt.gradle)
classpath(libs.google.services.gradle)
classpath(libs.firebase.crashlytics.gradle)
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.androidx.navigation.safeargs) apply false
alias(libs.plugins.dagger.hilt) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.ktlint)
}
allprojects {
apply {
plugin(rootProject.libs.plugins.ktlint.get().pluginId)
}
ktlint {
android.set(true)
verbose.set(true)
outputToConsole.set(true)
reporters {
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.PLAIN)
}
}
}