Skip to content

Commit b63c314

Browse files
Данила БеляковДанила Беляков
authored andcommitted
update maven publishing
1 parent 048904e commit b63c314

File tree

1 file changed

+28
-33
lines changed

1 file changed

+28
-33
lines changed

library/build.gradle

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -52,45 +52,40 @@ jacocoTestReport {
5252
}
5353
}
5454

55-
publishing {
56-
publications {
57-
mavenJava(MavenPublication) {
58-
from components.java
59-
60-
groupId = "io.github.danbeldev"
61-
artifactId = "firebase-app-check-spring-boot-starter"
55+
mavenPublishing {
56+
coordinates(
57+
groupId = "io.github.danbeldev",
58+
artifactId = "firebase-app-check-spring-boot-starter",
6259
version = "0.0.1"
60+
)
61+
62+
pom {
63+
name.set("firebase-app-check-spring-boot-starter")
64+
description.set("Spring Boot Starter для интеграции Firebase App Check")
65+
inceptionYear.set("2025")
66+
url.set("https://github.com/danbeldev/firebase-app-check-spring")
67+
68+
licenses {
69+
license {
70+
name.set("MIT")
71+
url.set("https://opensource.org/licenses/MIT")
72+
}
73+
}
6374

64-
pom {
65-
name = "firebase-app-check-spring"
66-
description = "Spring Boot Starter для интеграции Firebase App Check"
67-
inceptionYear = "2024"
68-
url = "https://github.com/danbeldev/firebase-app-check-spring"
69-
70-
licenses {
71-
license {
72-
name = "MIT"
73-
url = "https://opensource.org/licenses/MIT"
74-
}
75-
}
76-
77-
developers {
78-
developer {
79-
id = "danbel"
80-
name = "Danila Belyakov"
81-
82-
}
83-
}
84-
85-
scm {
86-
url = "https://github.com/danbeldev/firebase-app-check-spring"
87-
}
75+
developers {
76+
developer {
77+
id.set("DanBel")
78+
name.set("Danila Belyakov")
79+
email.set("[email protected]")
8880
}
8981
}
82+
83+
scm {
84+
url.set("https://github.com/danbeldev/firebase-app-check-spring")
85+
}
9086
}
91-
}
9287

93-
mavenPublishing {
9488
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
89+
9590
signAllPublications()
9691
}

0 commit comments

Comments
 (0)