mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-23 13:59:42 +00:00
42 lines
725 B
Plaintext
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")
|
|
}
|
|
}
|