40 lines
655 B
Kotlin
40 lines
655 B
Kotlin
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:4.0.1")
|
|
classpath(kotlin("gradle-plugin", "1.3.72"))
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
// Versioning
|
|
allprojects {
|
|
group = "org.jellyfin.apiclient"
|
|
version = getProperty("jellyfin.version")?.removePrefix("v") ?: "DEV"
|
|
}
|
|
// Dependencies
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("io.gitlab.arturbosch.detekt").version("1.9.1")
|
|
}
|
|
|
|
// Detekt configuration
|
|
subprojects {
|
|
plugins.apply("io.gitlab.arturbosch.detekt")
|
|
|
|
detekt {
|
|
buildUponDefaultConfig = true
|
|
ignoreFailures = true
|
|
config = files("$rootDir/detekt.yml")
|
|
}
|
|
}
|