jcenter() -> mavenCentral() (#3455)

This commit is contained in:
Nicola Corti
2021-04-27 19:45:41 +02:00
committed by GitHub
parent 5df8f94874
commit 9e71fc7e16
9 changed files with 18 additions and 48 deletions

View File

@@ -67,27 +67,14 @@ You can find [other ways to install detekt here](https://detekt.github.io/detekt
Gradle 5.4+ is required:
```kotlin
buildscript {
repositories {
jcenter()
}
// or
mavenCentral()
jcenter {
content {
// Only download the 'kotlinx-html-jvm' module from JCenter, but nothing else.
// detekt needs 'kotlinx-html-jvm' for the HTML report.
includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm")
}
}
}
plugins {
id("io.gitlab.arturbosch.detekt").version("[version]")
}
repositories {
mavenCentral()
}
detekt {
buildUponDefaultConfig = true // preconfigure defaults
allRules = false // activate all available (even unstable) rules.