Skip to content

Instantly share code, notes, and snippets.

@aouledissa
Created January 20, 2020 19:48
Show Gist options
  • Save aouledissa/e76ac056d88685386f88a2353cbe2979 to your computer and use it in GitHub Desktop.
Save aouledissa/e76ac056d88685386f88a2353cbe2979 to your computer and use it in GitHub Desktop.
Install SonarQube, Jacoco, Detekt dependencies
buildscript {
...
// Code static analysis plugins/tools
ext.sonarQubeVersion = '2.8'
ext.jacocoVersion = '0.8.5'
ext.kotlinDetektVersion = '1.4.0'
repositories {
...
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
...
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:$sonarQubeVersion"
classpath "org.jacoco:org.jacoco.core:$jacocoVersion"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$kotlinDetektVersion"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment