-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (48 loc) · 1.42 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:8.6.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
classpath "org.jetbrains.kotlin:kotlin-serialization:2.0.20"
classpath "org.jetbrains.kotlin:kotlin-allopen:2.0.20"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.8.2"
classpath "com.github.triplet.gradle:play-publisher:3.8.4"
classpath "com.github.breadmoirai:github-release:2.4.1"
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:11.2.3"
}
}
plugins {
id "base"
id "io.gitlab.arturbosch.detekt" version "1.18.1"
}
allprojects {
apply plugin: "io.gitlab.arturbosch.detekt"
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
project.ext {
kotlinFlags = [
"-opt-in=kotlin.ExperimentalStdlibApi",
"-opt-in=kotlin.time.ExperimentalTime",
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-opt-in=kotlinx.coroutines.FlowPreview",
]
}
clean {
delete rootProject.buildDir
}
detekt {
failFast = true
buildUponDefaultConfig = true
parallel = true
autoCorrect = true
config = rootProject.files("config/detekt/detekt.yml")
}
tasks.detekt.jvmTarget = "1.8"