-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
35 lines (30 loc) · 963 Bytes
/
build.gradle.kts
File metadata and controls
35 lines (30 loc) · 963 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
29
30
31
32
33
34
35
plugins {
id("com.android.application") version "7.2.1" apply false
id("com.android.library") version "7.2.1" apply false
id("org.jetbrains.kotlin.android") version "1.7.0" apply false
id("org.jetbrains.kotlin.jvm") version "1.7.0" apply false
id("org.jlleitschuh.gradle.ktlint") version "10.3.0" apply false
}
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.2")
classpath(kotlin("gradle-plugin", version = "1.3.70"))
classpath("com.google.dagger:hilt-android-gradle-plugin:2.43.1")
}
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint") // Version should be inherited from parent
repositories {
mavenCentral()
}
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
debug.set(true)
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}