mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
jcenter() -> mavenCentral() (#3455)
This commit is contained in:
21
README.md
21
README.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user