Skip to content

Commit a4580be

Browse files
committed
feat: packages 发表功能
1 parent e77d1da commit a4580be

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,20 @@ processResources {
5555

5656
publishing {
5757

58+
publications {
59+
mavenJava(MavenPublication) {
60+
groupId = group
61+
artifactId = "RedStarLib"
62+
version = version
63+
64+
from components.java
65+
}
66+
}
67+
5868
repositories {
5969
maven {
6070
name = "GitHubPackages"
61-
url = "https://maven.pkg.github.com/octocat/hello-world"
71+
url = "https://maven.pkg.github.com/RedStarMC/RedStarLib"
6272
credentials {
6373
username = System.getenv("GITHUB_ACTOR")
6474
password = System.getenv("GITHUB_TOKEN")

0 commit comments

Comments
 (0)