mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 00:38:46 +00:00
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:
@@ -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)
|
||||
Reference in New Issue
Block a user