|
@@ -15,8 +15,10 @@ buildscript {
|
|
|
mavenCentral()
|
|
|
}
|
|
|
dependencies {
|
|
|
- classpath 'com.android.tools.build:gradle:3.2.1'
|
|
|
- classpath('com.dicedmelon.gradle:jacoco-android:0.1.3')
|
|
|
+ classpath 'com.android.tools.build:gradle:3.3.0'
|
|
|
+ classpath('com.dicedmelon.gradle:jacoco-android:0.1.3') {
|
|
|
+ exclude group: 'org.codehaus.groovy', module: 'groovy-all'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -145,7 +147,7 @@ android {
|
|
|
exclude 'META-INF/LICENSE'
|
|
|
}
|
|
|
|
|
|
- task checkstyle(type: Checkstyle) {
|
|
|
+ tasks.register("checkstyle", Checkstyle) {
|
|
|
configFile = file("${rootProject.projectDir}/checkstyle.xml")
|
|
|
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
|
|
|
source 'src'
|
|
@@ -154,7 +156,7 @@ android {
|
|
|
classpath = files()
|
|
|
}
|
|
|
|
|
|
- task pmd(type: Pmd) {
|
|
|
+ tasks.register("pmd", Pmd) {
|
|
|
ruleSetFiles = files("${project.rootDir}/pmd-ruleset.xml")
|
|
|
ignoreFailures = false
|
|
|
ruleSets = []
|
|
@@ -175,7 +177,7 @@ android {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- task findbugs(type: FindBugs) {
|
|
|
+ tasks.register("findbugs", FindBugs) {
|
|
|
ignoreFailures = false
|
|
|
effort = "max"
|
|
|
reportLevel = "medium"
|
|
@@ -294,7 +296,7 @@ android.applicationVariants.all { variant ->
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-task combinedTestReport(type: JacocoReport) {
|
|
|
+tasks.register("combinedTestReport", JacocoReport) {
|
|
|
|
|
|
reports {
|
|
|
xml.enabled = true
|