jellyfin-sdk-kotlin/build.gradle.kts
Niels van Velzen 3ca910086a Update all dependencies
Except for Android Gradle build tools
2020-11-15 14:10:13 +01:00

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")
}
}