Skip to content
Snippets Groups Projects
Commit c2aac762 authored by Griefed's avatar Griefed :joystick:
Browse files

Change order of maven publishing to reflect importance

parent 765299d4
No related branches found
No related tags found
No related merge requests found
...@@ -361,6 +361,16 @@ publishing { ...@@ -361,6 +361,16 @@ publishing {
} }
repositories { repositories {
maven {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD")
}
}
maven { maven {
name = "GitHubPackages" name = "GitHubPackages"
url = "https://maven.pkg.github.com/Griefed/serverpackcreator" url = "https://maven.pkg.github.com/Griefed/serverpackcreator"
...@@ -369,34 +379,29 @@ publishing { ...@@ -369,34 +379,29 @@ publishing {
password = System.getenv("GITHUB_TOKEN") password = System.getenv("GITHUB_TOKEN")
} }
} }
maven { maven {
url = "https://git.griefed.de/api/v4/projects/63/packages/maven" url = "https://gitlab.com/api/v4/projects/32677538/packages/maven"
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
name = "Private-Token" name = "Private-Token"
value = System.getenv("GITLAB_TOKEN") value = System.getenv("GITLABCOM_TOKEN")
} }
authentication { authentication {
header(HttpHeaderAuthentication) header(HttpHeaderAuthentication)
} }
} }
maven { maven {
url = "https://gitlab.com/api/v4/projects/32677538/packages/maven" url = "https://git.griefed.de/api/v4/projects/63/packages/maven"
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
name = "Private-Token" name = "Private-Token"
value = System.getenv("GITLABCOM_TOKEN") value = System.getenv("GITLAB_TOKEN")
} }
authentication { authentication {
header(HttpHeaderAuthentication) header(HttpHeaderAuthentication)
} }
} }
maven {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD")
}
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment