fix: Fixed the issue that some artifacts cannot be published to maven repository.

This commit is contained in:
Zihlu Wang
2024-01-31 12:25:29 +08:00
parent e120becf94
commit 35212f2f1c
2 changed files with 10 additions and 10 deletions
@@ -59,14 +59,14 @@ tasks.test {
publishing { publishing {
publications { publications {
create<MavenPublication>("guid") { create<MavenPublication>("simpleJwtSpringBootStarter") {
groupId = sGroupId groupId = sGroupId
artifactId = "guid" artifactId = "simple-jwt-spring-boot-starter"
version = sVersion version = sVersion
pom { pom {
name = "DevKit - GUID" name = "Simple JWT :: Spring Boot Starter"
description = "The guid module of JDevKit." description = "The Spring Boot Starter of Simple JWT."
url = projectUrl url = projectUrl
licenses { licenses {
@@ -95,7 +95,7 @@ publishing {
from(components["java"]) from(components["java"])
signing { signing {
sign(publishing.publications["guid"]) sign(publishing.publications["simpleJwtSpringBootStarter"])
} }
} }
+5 -5
View File
@@ -27,14 +27,14 @@ tasks.test {
publishing { publishing {
publications { publications {
create<MavenPublication>("guid") { create<MavenPublication>("webcal") {
groupId = sGroupId groupId = sGroupId
artifactId = "guid" artifactId = "webcal"
version = sVersion version = sVersion
pom { pom {
name = "DevKit - GUID" name = "DevKit :: WebCal"
description = "The guid module of JDevKit." description = "The web calendar module of JDevKit."
url = projectUrl url = projectUrl
licenses { licenses {
@@ -63,7 +63,7 @@ publishing {
from(components["java"]) from(components["java"])
signing { signing {
sign(publishing.publications["guid"]) sign(publishing.publications["webcal"])
} }
} }