From bcdd31eded918c1367c9cac1888ed1288e76f7d8 Mon Sep 17 00:00:00 2001 From: Peter Trifanov Date: Wed, 18 Dec 2024 10:26:56 +0100 Subject: [PATCH 1/2] SONARGO-72 Add Gradle module for rule-api update --- .gitmodules | 1 + build-logic | 2 +- build.gradle.kts | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 73aed1c5..b56aee90 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,4 @@ [submodule "build-logic"] path = build-logic url = https://github.com/SonarSource/cloud-native-gradle-modules + branch = SONARGO-72 diff --git a/build-logic b/build-logic index 9243aeda..fb433a3c 160000 --- a/build-logic +++ b/build-logic @@ -1 +1 @@ -Subproject commit 9243aeda28e01c2953f58504d6f3c0708a7753ba +Subproject commit fb433a3ca65cbdb3ba560711b53cd2e1bd57d66e diff --git a/build.gradle.kts b/build.gradle.kts index 0f43c0a3..dc4b07fd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,6 +17,7 @@ plugins { id("org.sonarsource.cloud-native.code-style-conventions") id("org.sonarsource.cloud-native.artifactory-configuration") + id("org.sonarsource.cloud-native.rule-api") id("org.sonarqube") version "6.0.1.5171" } @@ -29,6 +30,12 @@ artifactoryConfiguration { passwordEnv = "ARTIFACTORY_DEPLOY_PASSWORD" } +ruleApi { + inputs = mapOf( + "Go" to "sonar-go-plugin" + ) +} + spotless { java { // no Java sources in the root project From 87463ff8def6348fbd5cc67815c1192daec7c240 Mon Sep 17 00:00:00 2001 From: Peter Trifanov Date: Wed, 18 Dec 2024 15:57:40 +0100 Subject: [PATCH 2/2] Update common modules --- .gitmodules | 1 - build-logic | 2 +- build.gradle.kts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index b56aee90..73aed1c5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,4 +13,3 @@ [submodule "build-logic"] path = build-logic url = https://github.com/SonarSource/cloud-native-gradle-modules - branch = SONARGO-72 diff --git a/build-logic b/build-logic index fb433a3c..5b09d9a8 160000 --- a/build-logic +++ b/build-logic @@ -1 +1 @@ -Subproject commit fb433a3ca65cbdb3ba560711b53cd2e1bd57d66e +Subproject commit 5b09d9a85301d155657aa1c40123943a033d9c84 diff --git a/build.gradle.kts b/build.gradle.kts index dc4b07fd..21379359 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,7 +31,7 @@ artifactoryConfiguration { } ruleApi { - inputs = mapOf( + languageToSonarpediaDirectory = mapOf( "Go" to "sonar-go-plugin" ) }