You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1006 B
49 lines
1006 B
buildscript { |
|
extra.apply{ |
|
set("navVersion", "2.5.3") |
|
set("lifecycleVersion", "2.6.1") |
|
} |
|
|
|
repositories { |
|
google() |
|
mavenCentral() |
|
gradlePluginPortal() |
|
} |
|
|
|
val navVersion: String by extra |
|
|
|
dependencies { |
|
classpath("com.android.tools.build:gradle:7.4.0") |
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0") |
|
classpath("com.github.bjoernq:unmockplugin:0.7.9") |
|
classpath("com.github.ben-manes:gradle-versions-plugin:0.44.0") |
|
classpath("org.jacoco:org.jacoco.core:0.8.8") |
|
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:$navVersion") |
|
} |
|
} |
|
|
|
allprojects { |
|
repositories { |
|
google() |
|
mavenCentral() |
|
maven(url = "https://jitpack.io") |
|
} |
|
} |
|
|
|
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) |
|
} |
|
}
|
|
|