jellyfin-android/build.gradle.kts
Max Rumpf cc1fa33d7e
Migrate to Gradle version catalogs (#482)
* Migrate to Gradle version catalogs

* Address review feedback
2021-08-06 19:44:58 +02:00

41 lines
1.1 KiB
Plaintext

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
val kotlinVersion: String by project
classpath("com.android.tools.build:gradle:7.0.0")
classpath(kotlin("gradle-plugin", kotlinVersion))
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.7.1.1")
}
}
allprojects {
repositories {
mavenCentral()
google()
mavenLocal {
content {
includeVersionByRegex(JellyfinSdk.GROUP, ".*", JellyfinSdk.LOCAL)
}
}
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
content {
includeVersionByRegex(JellyfinSdk.GROUP, ".*", JellyfinSdk.SNAPSHOT)
includeVersionByRegex(JellyfinSdk.GROUP, ".*", JellyfinSdk.SNAPSHOT_UNSTABLE)
}
}
}
}
tasks.wrapper {
distributionType = Wrapper.DistributionType.ALL
}
tasks.create<Delete>("clean") {
delete(rootProject.buildDir)
}