Remove apollo-plugin Gradle plugin

Replaces the old Gradle plugin with plain Gradle buildscripts.  Also cleans-up
the current Gradle extensions and re-adds detekt, along with JUnit 5 support to
all modules.
This commit is contained in:
Gary Tierney
2018-08-27 00:55:41 +01:00
parent 1f7eb78ddb
commit a53929a9a8
45 changed files with 886 additions and 753 deletions
+24
View File
@@ -0,0 +1,24 @@
def detektAggregateReport = "$rootDir/reports/detekt-report.xml"
detekt {
version = detektVersion
defaultProfile {
output = file("$buildDir/reports")
outputName = "detekt-report"
config = file("$rootDir/gradle/config/detekt.yml")
parallel = true
}
}
dependencies {
detekt group: 'io.gitlab.arturbosch.detekt', name: 'detekt-formatting', version: detektVersion
}
sonarqube {
properties {
property "sonar.kotlin.detekt.reportPaths", detektAggregateReport
}
}
tasks["sonarqube"].dependsOn(detektCheck)