Skip to content

Commit a159deb

Browse files
committed
update publishing config
1 parent 99e2907 commit a159deb

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ pipeline {
106106
// )
107107
]) {
108108
withGradle {
109-
sh './gradlew publishAllPublicationsToSoloStudiosReleasesRepository'
109+
sh './gradlew publish'
110+
//sh './gradlew publishAllPublicationsToSoloStudiosReleasesRepository'
110111
// sh './gradlew publishAllPublicationsToSonatypeRepository'
111112
// sh './gradlew publishAllPublicationsToCodeMCRepository'
112113
}

buildSrc/src/main/kotlin/PublishingConfig.kt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ fun Project.configurePublishing() {
1616
}
1717

1818
repositories {
19-
val mavenUrl = "https://repo.codemc.io/repository/maven-releases/"
19+
val mavenUrl = "https://maven.solo-studios.ca/releases/"
2020
//val mavenSnapshotUrl = "https://repo.codemc.io/repository/maven-snapshots/"
2121

2222
maven(mavenUrl) {
23-
val mavenUsername: String? by project
24-
val mavenPassword: String? by project
25-
if (mavenUsername != null && mavenPassword != null) {
23+
val SoloStudiosReleasesUsername: String? by project
24+
val SoloStudiosReleasesPassword: String? by project
25+
26+
if (SoloStudiosReleasesUsername != null && SoloStudiosReleasesPassword != null) {
2627
credentials {
27-
username = mavenUsername
28-
password = mavenPassword
28+
username = SoloStudiosReleasesUsername
29+
password = SoloStudiosReleasesPassword
2930
}
3031
}
3132
}

0 commit comments

Comments
 (0)