mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 02:20:57 +00:00
update publishing config
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -106,7 +106,8 @@ pipeline {
|
|||||||
// )
|
// )
|
||||||
]) {
|
]) {
|
||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew publishAllPublicationsToSoloStudiosReleasesRepository'
|
sh './gradlew publish'
|
||||||
|
//sh './gradlew publishAllPublicationsToSoloStudiosReleasesRepository'
|
||||||
// sh './gradlew publishAllPublicationsToSonatypeRepository'
|
// sh './gradlew publishAllPublicationsToSonatypeRepository'
|
||||||
// sh './gradlew publishAllPublicationsToCodeMCRepository'
|
// sh './gradlew publishAllPublicationsToCodeMCRepository'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,16 +16,17 @@ fun Project.configurePublishing() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
val mavenUrl = "https://repo.codemc.io/repository/maven-releases/"
|
val mavenUrl = "https://maven.solo-studios.ca/releases/"
|
||||||
//val mavenSnapshotUrl = "https://repo.codemc.io/repository/maven-snapshots/"
|
//val mavenSnapshotUrl = "https://repo.codemc.io/repository/maven-snapshots/"
|
||||||
|
|
||||||
maven(mavenUrl) {
|
maven(mavenUrl) {
|
||||||
val mavenUsername: String? by project
|
val SoloStudiosReleasesUsername: String? by project
|
||||||
val mavenPassword: String? by project
|
val SoloStudiosReleasesPassword: String? by project
|
||||||
if (mavenUsername != null && mavenPassword != null) {
|
|
||||||
|
if (SoloStudiosReleasesUsername != null && SoloStudiosReleasesPassword != null) {
|
||||||
credentials {
|
credentials {
|
||||||
username = mavenUsername
|
username = SoloStudiosReleasesUsername
|
||||||
password = mavenPassword
|
password = SoloStudiosReleasesPassword
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user