forked from andretietz/retroauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (34 loc) · 1.04 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
buildscript {
repositories {
mavenCentral()
google()
jcenter()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:1.0.3'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.28.0'
classpath "com.vanniktech:gradle-code-quality-tools-plugin:0.20.0"
}
}
allprojects {
repositories {
mavenLocal()
google()
mavenCentral()
jcenter()
}
}
apply plugin: "com.vanniktech.code.quality.tools"
codeQualityTools {
ignoreProjects = ["demoandroid"]
detekt.config = rootProject.file("quality/detekt.yml").path
detekt.toolVersion = '1.5.0'
ktlint.toolVersion = '0.28.0'
lint.lintConfig rootProject.file("quality/lint.xml")
checkstyle.configFile rootProject.file("quality/checkstyle.xml").path
kotlin.allWarningsAsErrors false
pmd.enabled false
}