mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-19 03:40:35 +01:00
e7caddaf99
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
42 lines
957 B
Groovy
42 lines
957 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()
|
|
google()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
dependencies {
|
|
classpath gradlePlugins.androidTools
|
|
classpath gradlePlugins.kotlin
|
|
classpath gradlePlugins.ktlintGradle
|
|
classpath gradlePlugins.detekt
|
|
classpath(gradlePlugins.jacocoAndroid) {
|
|
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
|
|
}
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
// Buildscript here is required by detekt
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
apply from: 'gradle_scripts/jacoco.gradle'
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion(versions.gradle)
|
|
distributionType("all")
|
|
}
|