funkwhale-app-android/build.gradle.kts

50 lines
1007 B
Plaintext
Raw Normal View History

2019-10-21 23:26:06 +02:00
buildscript {
2023-01-10 13:56:20 +01:00
extra.apply{
set("navVersion", "2.5.3")
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()
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 {
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")
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)
}
}