-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle.kts
33 lines (29 loc) · 1.02 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id(BuildPlugins.androidApplication) version Versions.androidApplication apply false
id(BuildPlugins.androidLibrary) version Versions.androidLibrary apply false
id(BuildPlugins.kotlinAndroid) version Versions.kotlin apply false
id(BuildPlugins.ktlintPlugin) version Versions.ktlint
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
buildscript {
dependencies {
classpath(Libraries.hiltGradle)
classpath(Libraries.googleServices)
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.2")
classpath("com.android.tools.build:gradle:7.4.2")
}
}
allprojects {
apply(plugin = BuildPlugins.ktlintPlugin)
ktlint {
android.set(false)
verbose.set(false)
filter {
exclude { element -> element.file.path.contains("generated/") }
}
disabledRules.set(setOf("no-wildcard-imports"))
}
}