Skip to content

Commit

Permalink
Added proxy for projects.itemis.de for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
blackstardlb committed Nov 12, 2021
1 parent f5e2c2b commit dd96386
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
20 changes: 16 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
buildscript {
repositories {
maven {
url = uri("https://discplmirror.jfrog.io/artifactory/itemis")
if (System.getenv('CI') != null) {
maven {
url = uri("https://itemis.blackstardlb.nl")
}
} else {
maven {
url = uri("https://projects.itemis.de/nexus/content/repositories/mbeddr")
}
}
mavenCentral()
}
Expand Down Expand Up @@ -60,8 +66,14 @@ repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url = uri("https://discplmirror.jfrog.io/artifactory/itemis")
if (System.getenv('CI') != null) {
maven {
url = uri("https://itemis.blackstardlb.nl")
}
} else {
maven {
url = uri("https://projects.itemis.de/nexus/content/repositories/mbeddr")
}
}
}

Expand Down
10 changes: 8 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
pluginManagement {
repositories {
maven {
url = uri("https://discplmirror.jfrog.io/artifactory/itemis")
if (System.getenv('CI') != null) {
maven {
url = uri("https://itemis.blackstardlb.nl")
}
} else {
maven {
url = uri("https://projects.itemis.de/nexus/content/repositories/mbeddr")
}
}
gradlePluginPortal()
}
Expand Down

0 comments on commit dd96386

Please sign in to comment.