Skip to content

Commit ea4c8e7

Browse files
committed
Change publish location
Signed-off-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>
1 parent 938e096 commit ea4c8e7

File tree

1 file changed

+14
-26
lines changed

1 file changed

+14
-26
lines changed

build.gradle

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ publishing {
9292
pluginMaven(MavenPublication) {
9393
// Automated publishing declares the java component for us
9494

95-
groupId = project.group
95+
groupId = 'org.kettingpowered.patched.spongepowered'
9696
version = project.version
9797
artifactId = project.archivesBaseName
9898

@@ -124,33 +124,21 @@ publishing {
124124
}
125125
}
126126
repositories {
127-
if (buildType == 'RELEASE') {
128-
if (project.hasProperty("releaseRepo")) {
129-
maven {
130-
credentials {
131-
username = project.releaseRepoUsername
132-
password = project.releaseRepoPassword
133-
}
134-
url project.releaseRepo
135-
}
127+
maven {
128+
name = "GitHubPackages"
129+
url = uri("https://maven.pkg.github.com/kettingpowered/Ketting-1-20-x")
130+
credentials {
131+
username = System.getenv("GITHUB_ACTOR")
132+
password = System.getenv("GITHUB_TOKEN")
136133
}
137-
if (project.hasProperty("spongeReleaseRepo")) {
138-
maven {
139-
credentials {
140-
username = project.spongeUsername
141-
password = project.spongePassword
142-
}
143-
url project.spongeReleaseRepo
144-
}
145-
}
146-
} else if (project.hasProperty("spongeSnapshotRepo")) {
147-
maven {
148-
credentials {
149-
username = project.spongeUsername
150-
password = project.spongePassword
151-
}
152-
url project.spongeSnapshotRepo
134+
}
135+
maven {
136+
name = 'kettingRepo'
137+
credentials {
138+
username = System.getenv("KETTINGUSERNAME")
139+
password = System.getenv("KETTINGPASSWORD")
153140
}
141+
url = "https://reposilite.c0d3m4513r.com/Ketting/"
154142
}
155143
}
156144
}

0 commit comments

Comments
 (0)