2019-10-21 23:26:06 +02:00
|
|
|
buildscript {
|
2023-01-10 13:56:20 +01:00
|
|
|
extra.apply{
|
2023-01-10 21:03:46 +01:00
|
|
|
set("navVersion", "2.5.3")
|
2023-03-22 18:31:12 +01:00
|
|
|
set("lifecycleVersion", "2.6.1")
|
2023-01-10 13:56:20 +01:00
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
2023-01-10 13:56:20 +01:00
|
|
|
val navVersion: String by extra
|
|
|
|
|
2019-10-21 23:26:06 +02:00
|
|
|
dependencies {
|
2023-04-04 14:00:47 +02:00
|
|
|
classpath("com.android.tools.build:gradle:7.4.2")
|
2023-04-04 12:01:35 +02:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20")
|
2022-08-26 08:30:19 +02:00
|
|
|
classpath("com.github.bjoernq:unmockplugin:0.7.9")
|
2023-04-06 10:31:16 +02:00
|
|
|
classpath("com.github.ben-manes:gradle-versions-plugin:0.46.0")
|
2022-08-26 12:30:26 +02:00
|
|
|
classpath("org.jacoco:org.jacoco.core:0.8.8")
|
2023-01-10 13:56:20 +01:00
|
|
|
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:$navVersion")
|
2019-10-21 23:26:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2023-01-10 13:56:20 +01:00
|
|
|
mavenCentral()
|
2022-08-25 14:58:19 +02:00
|
|
|
maven(url = "https://jitpack.io")
|
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)
|
|
|
|
}
|
|
|
|
}
|