44 lines
889 B
Plaintext
44 lines
889 B
Plaintext
buildscript {
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:${Versions.androidGradlePlugin}")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}")
|
|
classpath("com.github.bjoernq:unmockplugin:${Versions.unmock}")
|
|
classpath("com.github.ben-manes:gradle-versions-plugin:${Versions.gradleDependencyPlugin}")
|
|
classpath("org.jacoco:org.jacoco.core:${Versions.jacoco}")
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
google()
|
|
maven(url = "https://jitpack.io")
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
eachDependency {
|
|
if (this.requested.group == "org.jacoco") {
|
|
this.useVersion("0.8.7")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
val clean by registering(Delete::class) {
|
|
delete(buildDir)
|
|
}
|
|
}
|