mirror of
https://github.com/ultrasonic/ultrasonic
synced 2024-12-13 17:27:02 +01:00
76c61409a4
Only show kotlin code coverage.
40 lines
932 B
Groovy
40 lines
932 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
apply from: 'dependencies.gradle'
|
|
|
|
repositories {
|
|
jcenter()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
dependencies {
|
|
classpath gradlePlugins.androidTools
|
|
classpath gradlePlugins.kotlin
|
|
classpath gradlePlugins.ktlintGradle
|
|
classpath(gradlePlugins.detekt) {
|
|
exclude module: 'kotlin-compiler-embeddable'
|
|
exclude module: 'kotlin-stdlib'
|
|
}
|
|
classpath gradlePlugins.jacocoAndroid
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
// Buildscript here is required by detekt
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
apply from: 'gradle_scripts/jacoco.gradle'
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion(versions.gradle)
|
|
distributionType("all")
|
|
}
|