2019-10-21 23:26:06 +02:00
|
|
|
buildscript {
|
2021-08-04 10:41:42 +02:00
|
|
|
|
2019-10-21 23:26:06 +02:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-08-02 13:24:12 +02:00
|
|
|
mavenCentral()
|
2021-08-06 09:34:09 +02:00
|
|
|
gradlePluginPortal()
|
2019-10-21 23:26:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-01-26 09:02:25 +01:00
|
|
|
classpath("com.android.tools.build:gradle:7.1.0")
|
2021-08-04 10:41:42 +02:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}")
|
|
|
|
classpath("com.github.bjoernq:unmockplugin:${Versions.unmock}")
|
2021-08-06 09:34:09 +02:00
|
|
|
classpath("com.github.ben-manes:gradle-versions-plugin:${Versions.gradleDependencyPlugin}")
|
2021-08-06 21:16:46 +02:00
|
|
|
classpath("org.jacoco:org.jacoco.core:${Versions.jacoco}")
|
2019-10-21 23:26:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2021-08-04 10:41:42 +02:00
|
|
|
|
2019-10-21 23:26:06 +02:00
|
|
|
repositories {
|
|
|
|
google()
|
2019-10-23 21:41:50 +02:00
|
|
|
maven(url = "https://jitpack.io")
|
2019-10-30 00:22:14 +01:00
|
|
|
jcenter()
|
2019-10-21 23:26:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-06 21:16:46 +02:00
|
|
|
subprojects {
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy {
|
|
|
|
eachDependency {
|
|
|
|
if (this.requested.group == "org.jacoco") {
|
|
|
|
this.useVersion("0.8.7")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-21 23:26:06 +02:00
|
|
|
tasks {
|
|
|
|
val clean by registering(Delete::class) {
|
|
|
|
delete(buildDir)
|
|
|
|
}
|
|
|
|
}
|