Skip to content

Commit

Permalink
fix: enable publishing to itemis nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
slisson committed Nov 19, 2024
1 parent 26dbb67 commit 3f6e41e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,24 @@ subprojects {
mavenCentral()
}

// publishing {
// repositories {
// if (project.hasProperty("artifacts.itemis.cloud.user")) {
// maven {
// name = "itemis"
// url = if (version.toString().contains("SNAPSHOT")) {
// uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/")
// } else {
// uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
// }
// credentials {
// username = project.findProperty("artifacts.itemis.cloud.user").toString()
// password = project.findProperty("artifacts.itemis.cloud.pw").toString()
// }
// }
// }
// }
// }
publishing {
repositories {
if (project.hasProperty("artifacts.itemis.cloud.user")) {
maven {
name = "itemis"
url = if (version.toString().contains("SNAPSHOT")) {
uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/")
} else {
uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
}
credentials {
username = project.findProperty("artifacts.itemis.cloud.user").toString()
password = project.findProperty("artifacts.itemis.cloud.pw").toString()
}
}
}
}
}
}

subprojects {
Expand Down

0 comments on commit 3f6e41e

Please sign in to comment.