mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2025-02-24 16:10:38 +00:00
41 lines
1.1 KiB
Plaintext
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)
|
|
}
|