-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
28 lines (24 loc) · 1003 Bytes
/
build.gradle.kts
File metadata and controls
28 lines (24 loc) · 1003 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.0.2" apply false
id("com.android.library") version "8.0.2" apply false
id("org.jetbrains.kotlin.android") version "1.8.21" apply false
id("com.google.dagger.hilt.android") version "2.44.2" apply false
id("org.jlleitschuh.gradle.ktlint") version "11.0.0" apply true
id("io.gitlab.arturbosch.detekt") version "1.17.0" apply true
id("com.github.ben-manes.versions") version "0.42.0" apply true
}
apply(from = "buildscripts/githooks.gradle")
apply(from = "buildscripts/setup.gradle")
subprojects {
apply(from = "../buildscripts/ktlint.gradle")
apply(from = "../buildscripts/detekt.gradle")
apply(from = "../buildscripts/versionsplugin.gradle")
}
task("clean") {
delete(rootProject.buildDir)
}
afterEvaluate {
// We install the hook at the first occasion
tasks["clean"].dependsOn("installGitHooks")
}