diff --git a/build.gradle.kts b/build.gradle.kts index d1845373..e98be7b3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -117,15 +117,16 @@ subprojects { } } } - repositories { - maven { - val snapshotUrl = uri("https://oss.sonatype.org/content/repositories/snapshots") - val releaseUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2") - url = if (version.safeAs()?.endsWith("SNAPSHOT") == true) snapshotUrl else releaseUrl - credentials { - username = project.findProperty("sonatypeUsername")?.safeAs() ?: "" - password = project.findProperty("sonatypePassword")?.safeAs() ?: "" - } + } + + extensions.getByType().repositories { + maven { + val snapshotUrl = uri("https://oss.sonatype.org/content/repositories/snapshots") + val releaseUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2") + url = if (version.safeAs()?.endsWith("SNAPSHOT") == true) snapshotUrl else releaseUrl + credentials { + username = project.findProperty("sonatypeUsername")?.safeAs() ?: "" + password = project.findProperty("sonatypePassword")?.safeAs() ?: "" } } } diff --git a/interop_testing/build.gradle.kts b/interop_testing/build.gradle.kts index 7c3b8fba..5df8ae6b 100644 --- a/interop_testing/build.gradle.kts +++ b/interop_testing/build.gradle.kts @@ -69,3 +69,7 @@ tasks.named("startScripts") { dependsOn(testServiceClientStartScripts) dependsOn(testServiceServerStartScripts) } + +tasks.withType { + enabled = false +}