diff --git a/build.gradle.kts b/build.gradle.kts index 7beae428..7efe7ee9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -66,24 +66,24 @@ subprojects { mavenCentral() } -// publishing { -// repositories { -// if (project.hasProperty("artifacts.itemis.cloud.user")) { -// maven { -// name = "itemis" -// url = if (version.toString().contains("SNAPSHOT")) { -// uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/") -// } else { -// uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/") -// } -// credentials { -// username = project.findProperty("artifacts.itemis.cloud.user").toString() -// password = project.findProperty("artifacts.itemis.cloud.pw").toString() -// } -// } -// } -// } -// } + publishing { + repositories { + if (project.hasProperty("artifacts.itemis.cloud.user")) { + maven { + name = "itemis" + url = if (version.toString().contains("SNAPSHOT")) { + uri("https://artifacts.itemis.cloud/repository/maven-mps-snapshots/") + } else { + uri("https://artifacts.itemis.cloud/repository/maven-mps-releases/") + } + credentials { + username = project.findProperty("artifacts.itemis.cloud.user").toString() + password = project.findProperty("artifacts.itemis.cloud.pw").toString() + } + } + } + } + } } subprojects {