-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (39 loc) · 1.33 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
plugins {
id("com.android.application") version "8.1.1" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
// Detekt
id("io.gitlab.arturbosch.detekt") version "1.20.0"
// Linter
id("org.jmailen.kotlinter") version "3.12.0"
id("com.github.ben-manes.versions") version "0.39.0"
id("com.google.dagger.hilt.android") version "2.48" apply false
id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") version "2.0.1" apply false
}
buildscript {
dependencies {
classpath("com.google.gms:google-services:4.4.0")
classpath("com.android.tools.build:gradle:8.1.0")
classpath("com.google.firebase:firebase-appdistribution-gradle:4.0.1")
}
}
allprojects {
apply(plugin = "org.jmailen.kotlinter")
apply(plugin = "io.gitlab.arturbosch.detekt")
apply(plugin = "jacoco")
apply(plugin = "com.github.ben-manes.versions")
detekt {
config = files("${rootProject.projectDir}/detekt/detekt-config.yml")
parallel = true
}
dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.20.0")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
subprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "17"
}
}