mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-12-02 10:56:21 +00:00
3ca910086a
Except for Android Gradle build tools
42 lines
736 B
Plaintext
42 lines
736 B
Plaintext
plugins {
|
|
id("maven-publish")
|
|
id("io.gitlab.arturbosch.detekt").version(Dependencies.detektVersion)
|
|
}
|
|
|
|
// Versioning
|
|
allprojects {
|
|
group = "org.jellyfin.apiclient"
|
|
version = getProperty("jellyfin.version")?.removePrefix("v") ?: "SNAPSHOT"
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath(Dependencies.Android.buildTools)
|
|
classpath(Dependencies.Kotlin.gradlePlugin)
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
// Publishing
|
|
plugins.apply("maven-publish")
|
|
publishing.repositories.jellyfinBintray(this)
|
|
|
|
// Detekt
|
|
plugins.apply("io.gitlab.arturbosch.detekt")
|
|
detekt {
|
|
buildUponDefaultConfig = true
|
|
ignoreFailures = true
|
|
config = files("$rootDir/detekt.yml")
|
|
}
|
|
}
|