Skip to content

Commit 62a2b07

Browse files
author
Alexander Pann
committed
Publish to artifacts.itemis.cloud
1 parent de05769 commit 62a2b07

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,18 @@ publishing {
301301
}
302302
}
303303
}
304+
maven {
305+
name = "itemisCloud"
306+
url = version.toString().endsWith("-SNAPSHOT")
307+
? uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/")
308+
: uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
309+
if (project.hasProperty("artifacts.itemis.cloud.user") && project.hasProperty("artifacts.itemis.cloud.pw")) {
310+
credentials {
311+
username = project.findProperty("artifacts.itemis.cloud.user")
312+
password = project.findProperty("artifacts.itemis.cloud.pw")
313+
}
314+
}
315+
}
304316
}
305317
repositories {
306318
if(currentBranch == "master" || currentBranch.startsWith("maintenance") || currentBranch.startsWith("mps")) {

0 commit comments

Comments
 (0)