Skip to content

Commit

Permalink
Remove old itemis Nexus repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sergej-koscejev committed Oct 9, 2024
1 parent 2bc9c78 commit 5b1b11b
Showing 1 changed file with 12 additions and 27 deletions.
39 changes: 12 additions & 27 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -280,35 +280,20 @@ def additionalPomInfo = {
publishing {
repositories {
maven {
if (project.hasProperty('nexusUsername')) {
credentials {
username project.getProperty('nexusUsername')
password project.getProperty('nexusPassword')
}
name = "itemisCloud"
url = uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
credentials {
username = project.findProperty("artifacts.itemis.cloud.user")
password = project.findProperty("artifacts.itemis.cloud.pw")
}
url project.findProperty('repository') ?: 'https://projects.itemis.de/nexus/content/repositories/mbeddr'
}
repositories {
if (project.hasProperty("artifacts.itemis.cloud.user") && project.hasProperty("artifacts.itemis.cloud.pw")) {
maven {
name = "itemisCloud"
url = project.version.contains("SNAPSHOT")
? uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/")
: uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
credentials {
username = project.findProperty("artifacts.itemis.cloud.user")
password = project.findProperty("artifacts.itemis.cloud.pw")
}
}
}
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/mbeddr/build.publish.mps")
if(project.hasProperty("gpr.token")) {
credentials {
username = project.findProperty("gpr.user")
password = project.findProperty("gpr.token")
}
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/mbeddr/build.publish.mps")
if (project.hasProperty("gpr.token")) {
credentials {
username = project.findProperty("gpr.user")
password = project.findProperty("gpr.token")
}
}
}
Expand Down

0 comments on commit 5b1b11b

Please sign in to comment.