-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
39 lines (35 loc) · 836 Bytes
/
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
apply plugin: "com.github.ben-manes.versions"
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
ProjectLib.all.forEach { classpath it }
}
}
allprojects {
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'org.jlleitschuh.gradle.ktlint'
apply plugin: "com.github.ben-manes.versions"
detekt {
config = files("${rootDir}/detekt.yml")
}
ktlint {
android = true
}
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}