mirror of
https://github.com/ultrasonic/ultrasonic
synced 2024-12-15 10:24:18 +01:00
45 lines
1.0 KiB
Groovy
45 lines
1.0 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
apply from: 'dependencies.gradle'
|
|
|
|
ext.bootstrap = [
|
|
kotlinModule : "${project.rootDir}/gradle_scripts/kotlin-module-bootstrap.gradle",
|
|
androidModule : "${project.rootDir}/gradle_scripts/android-module-bootstrap.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.jacoco
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
// Buildscript here is required by detekt
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
apply from: 'gradle_scripts/jacoco.gradle'
|
|
|
|
wrapper {
|
|
gradleVersion(versions.gradle)
|
|
distributionType("all")
|
|
}
|