From c66c8ee87f9ecbe27f792542ed72828bd33c1c99 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 21 Feb 2024 10:08:11 +0100 Subject: [PATCH] Upgrade SonarPlugin for Gradle 8 compatibility --- build.gradle.kts | 4 ---- sonar/build.gradle.kts | 4 ++++ sonatype/build.gradle.kts | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0c9dd77..802fb2f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -97,7 +97,3 @@ if (!version.toString().endsWith("-SNAPSHOT")) { val sonarqube by tasks sonarqube.enabled = false //FIXME requires Java 17 - -tasks.withType { - enabled = false //FIXME Signing Gradle Module Metadata is not supported for snapshot dependencies -} diff --git a/sonar/build.gradle.kts b/sonar/build.gradle.kts index 51afb09..389dfe3 100644 --- a/sonar/build.gradle.kts +++ b/sonar/build.gradle.kts @@ -15,3 +15,7 @@ tasks.withType { environment("SONAR_SCANNER_HOME", "") environment("SONARQUBE_SCANNER_PARAMS", "{}") } + +tasks.withType { + enabled = false //FIXME Signing Gradle Module Metadata is not supported for snapshot dependencies +} diff --git a/sonatype/build.gradle.kts b/sonatype/build.gradle.kts index ce09830..d1b3c03 100644 --- a/sonatype/build.gradle.kts +++ b/sonatype/build.gradle.kts @@ -21,3 +21,7 @@ tasks.withType { showStandardStreams = true } } + +tasks.withType { + enabled = false //FIXME Signing Gradle Module Metadata is not supported for snapshot dependencies +}