2015-07-26 17:03:28 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2017-01-14 21:44:28 +01:00
|
|
|
apply from: 'dependencies.gradle'
|
|
|
|
|
2015-07-26 17:03:28 +02:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-12-21 10:12:10 +01:00
|
|
|
google()
|
2017-07-30 17:05:57 +02:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2015-07-26 17:03:28 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2017-01-14 21:44:28 +01:00
|
|
|
classpath gradlePlugins.androidTools
|
2017-03-02 06:37:51 +01:00
|
|
|
classpath gradlePlugins.kotlin
|
2017-07-29 22:31:20 +02:00
|
|
|
classpath gradlePlugins.ktlintGradle
|
2017-12-21 10:16:30 +01:00
|
|
|
classpath gradlePlugins.detekt
|
2017-08-09 21:56:20 +02:00
|
|
|
classpath gradlePlugins.jacocoAndroid
|
2015-07-26 17:03:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2017-07-30 17:05:57 +02:00
|
|
|
// Buildscript here is required by detekt
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-12-21 10:12:10 +01:00
|
|
|
google()
|
2017-07-30 17:05:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-26 17:03:28 +02:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
2017-07-30 22:50:05 +02:00
|
|
|
|
2017-08-09 21:56:20 +02:00
|
|
|
apply from: 'gradle_scripts/jacoco.gradle'
|
|
|
|
|
2017-07-30 22:50:05 +02:00
|
|
|
task wrapper(type: Wrapper) {
|
2017-08-09 21:56:20 +02:00
|
|
|
gradleVersion(versions.gradle)
|
|
|
|
distributionType("all")
|
|
|
|
}
|