-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
36 lines (33 loc) · 1.53 KB
/
build.gradle
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compose_version = '1.6.4'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10"
classpath "com.google.dagger:hilt-android-gradle-plugin:2.50"
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: "io.gitlab.arturbosch.detekt"
detekt {
config = files("$projectDir/config/detekt.yml") // point to your custom config defining rules to run, overwriting default behavior
reports {
html.enabled = true // observe findings in your browser with structure and code snippets
xml.enabled = true // checkstyle like format mainly for integrations like Jenkins
txt.enabled = true // similar to the console output, contains issue signature to manually edit baseline files
sarif.enabled = true // standardized SARIF format (https://sarifweb.azurewebsites.net/) to support integrations with Github Code Scanning
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}