1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2024-12-12 16:57:23 +01:00
ultrasonic-app-subsonic-and.../build.gradle
Yahor Berdnikau 76c61409a4 Added code coverage.
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00

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")
}