funkwhale-android/build.gradle.kts

50 wiersze
1007 B
Kotlin

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.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20")
classpath("com.github.bjoernq:unmockplugin:0.7.9")
classpath("com.github.ben-manes:gradle-versions-plugin:0.46.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)
}
}