-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
49 lines (42 loc) · 1.44 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
42
43
44
45
46
47
48
49
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
maven("https://plugins.gradle.org/m2/")
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.android.test) apply false
alias(libs.plugins.baselineprofile) apply false
alias(libs.plugins.compose) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.dependencyGuard) apply false
alias(libs.plugins.gms) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.secrets) apply false
alias(libs.plugins.room) apply false
alias(libs.plugins.module.graph) apply true // Plugin applied to allow module graph generation
id("org.jlleitschuh.gradle.ktlint") version "12.1.1" apply false
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register("clean").configure {
delete(rootProject.buildDir)
}
apply(from = teamPropsFile("git-hooks.gradle.kts"))
fun teamPropsFile(propsFile: String): File {
val teamPropsDir = file("team-props")
return File(teamPropsDir, propsFile)
}