mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-23 05:49:59 +00:00
Add binary-compatibility-validator plugin
This commit is contained in:
parent
5d1d7e3600
commit
3fc17f0767
@ -2,6 +2,7 @@ plugins {
|
||||
id("io.github.gradle-nexus.publish-plugin").version(Dependencies.nexusPublishPluginVersion)
|
||||
id("io.gitlab.arturbosch.detekt").version(Dependencies.detektVersion)
|
||||
id("org.jetbrains.dokka").version(Dependencies.dokkaVersion)
|
||||
id("org.jetbrains.kotlinx.binary-compatibility-validator").version(Dependencies.KotlinX.binaryCompatibilityValidatorVersion)
|
||||
}
|
||||
|
||||
// Versioning
|
||||
@ -28,6 +29,11 @@ nexusPublishing.repositories.sonatype {
|
||||
password.set(getProperty("ossrh.password"))
|
||||
}
|
||||
|
||||
apiValidation {
|
||||
// Ignore generator / samples / other non jellyfin-x modules
|
||||
ignoredProjects.addAll(subprojects.map { it.name }.filter { !it.startsWith("jellyfin-") })
|
||||
}
|
||||
|
||||
subprojects {
|
||||
// Enable required plugins
|
||||
apply<SigningPlugin>()
|
||||
|
@ -28,6 +28,7 @@ object Dependencies {
|
||||
|
||||
val coroutinesCore = item("coroutines-core", "1.4.2")
|
||||
val serializationJson = item("serialization-json", "1.0.1")
|
||||
const val binaryCompatibilityValidatorVersion = "0.5.0"
|
||||
}
|
||||
|
||||
object Android {
|
||||
|
Loading…
Reference in New Issue
Block a user