Skip to content

Commit af31661

Browse files
committed
feat: enhance Maven publication configuration with detailed POM metadata
1 parent 5fb4ff8 commit af31661

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

api/build.gradle.kts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,28 @@ dependencies {
77
publishing {
88
publications {
99
create<MavenPublication>("mavenJava") {
10+
groupId = "github.nighter"
11+
artifactId = "smartspawner-api"
1012
from(components["java"])
11-
artifactId = "api"
13+
14+
pom {
15+
name.set("SmartSpawner API")
16+
description.set("API for SmartSpawner plugin - allows other plugins to create and manage spawners")
17+
url.set("https://github.com/NighterDevelopment/SmartSpawner")
18+
licenses {
19+
license {
20+
name.set("MIT License")
21+
url.set("https://opensource.org/licenses/MIT")
22+
}
23+
}
24+
developers {
25+
developer {
26+
id.set("nighter")
27+
name.set("Nighter")
28+
email.set("notnighter@gmail.com")
29+
}
30+
}
31+
}
1232
}
1333
}
1434
}

0 commit comments

Comments
 (0)