Files
gameyfin/plugin-api/build.gradle.kts
T
2025-07-16 10:17:19 +02:00

53 lines
1.4 KiB
Kotlin

val jacksonVersion = "2.19.1"
plugins {
kotlin("jvm")
`java-library`
id("com.vanniktech.maven.publish") version "0.34.0"
}
group = "org.gameyfin"
dependencies {
// PF4J (shared)
api("org.pf4j:pf4j:${rootProject.extra["pf4jVersion"]}")
// JSON serialization
compileOnly("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion")
}
mavenPublishing {
publishToMavenCentral()
signAllPublications()
coordinates(project.group.toString(), project.name, rootProject.version.toString())
pom {
name = "Gameyfin Plugin API"
description =
"The Gameyfin Plugin API provides the necessary interfaces and classes to create plugins for Gameyfin."
url = "https://gameyfin.org/"
licenses {
license {
name = "GNU Affero General Public License v3.0"
url = "https://www.gnu.org/licenses/agpl-3.0.en.html"
}
}
developers {
developer {
id = "grimsi"
name = "Simon Grimme"
url = "https://github.com/grimsi"
}
}
scm {
url = "https://github.com/gameyfin/gameyfin"
connection = "scm:git:git://github.com/gameyfin/gameyfin.git"
developerConnection = "scm:git:ssh://git@github.com/gameyfin/gameyfin.git"
}
}
}