jellyfin-sdk-kotlin/build.gradle.kts

42 lines
725 B
Plaintext

plugins {
id("maven-publish")
id("io.gitlab.arturbosch.detekt").version("1.9.1")
}
// Versioning
allprojects {
group = "org.jellyfin.apiclient"
version = getProperty("jellyfin.version")?.removePrefix("v") ?: "SNAPSHOT"
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:4.0.1")
classpath(kotlin("gradle-plugin", "1.3.72"))
}
}
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")
}
}