-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
51 lines (43 loc) · 1.1 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
buildscript {
ext {
setup = [
compileSdk: 34,
buildTools: "34.0.0",
minSdk: 14,
targetSdk: 34
]
// for maven publishing plugin
VERSION_NAME = libVersion
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.vanniktech:gradle-maven-publish-plugin:$mavenPluginVersion"
classpath "com.github.breadmoirai:github-release:$githubReleasePluginVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
}
}
plugins {
id "base"
id "io.gitlab.arturbosch.detekt" version "1.23.4"
}
allprojects {
apply plugin: "io.gitlab.arturbosch.detekt"
repositories {
google()
mavenCentral()
}
}
clean {
delete rootProject.buildDir
}
detekt {
buildUponDefaultConfig = true
parallel = true
autoCorrect = true
}
tasks.detekt.jvmTarget = "1.8"