Skip to content

Commit 3f6e41e

Browse files
committed
fix: enable publishing to itemis nexus
1 parent 26dbb67 commit 3f6e41e

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

build.gradle.kts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,24 @@ subprojects {
6666
mavenCentral()
6767
}
6868

69-
// publishing {
70-
// repositories {
71-
// if (project.hasProperty("artifacts.itemis.cloud.user")) {
72-
// maven {
73-
// name = "itemis"
74-
// url = if (version.toString().contains("SNAPSHOT")) {
75-
// uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/")
76-
// } else {
77-
// uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
78-
// }
79-
// credentials {
80-
// username = project.findProperty("artifacts.itemis.cloud.user").toString()
81-
// password = project.findProperty("artifacts.itemis.cloud.pw").toString()
82-
// }
83-
// }
84-
// }
85-
// }
86-
// }
69+
publishing {
70+
repositories {
71+
if (project.hasProperty("artifacts.itemis.cloud.user")) {
72+
maven {
73+
name = "itemis"
74+
url = if (version.toString().contains("SNAPSHOT")) {
75+
uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/")
76+
} else {
77+
uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/")
78+
}
79+
credentials {
80+
username = project.findProperty("artifacts.itemis.cloud.user").toString()
81+
password = project.findProperty("artifacts.itemis.cloud.pw").toString()
82+
}
83+
}
84+
}
85+
}
86+
}
8787
}
8888

8989
subprojects {

0 commit comments

Comments
 (0)