mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-15 16:20:03 +00:00
Add javadoc to plugin-api
Configure plugin-api build to publish to Maven Central
This commit is contained in:
+39
-13
@@ -1,23 +1,49 @@
|
||||
import com.vanniktech.maven.publish.SonatypeHost
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
`maven-publish`
|
||||
`java-library`
|
||||
id("com.vanniktech.maven.publish") version "0.32.0"
|
||||
}
|
||||
|
||||
group = "org.gameyfin"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("maven") {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// PF4J (shared)
|
||||
api("org.pf4j:pf4j:${rootProject.extra["pf4jVersion"]}")
|
||||
}
|
||||
|
||||
mavenPublishing {
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
||||
signAllPublications()
|
||||
|
||||
coordinates(project.group.toString(), project.name, project.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user