Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old itemis Nexus repository #27

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove old itemis Nexus repository
sergej-koscejev committed Oct 9, 2024
commit 5b1b11b118e3c7de20543d6bb544059b2362e37f
39 changes: 12 additions & 27 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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")
}
}
}