From f7034d8058a5f5a9327bd3d7538b6555569a6356 Mon Sep 17 00:00:00 2001 From: Kirill Kamakin Date: Sat, 28 May 2022 13:37:42 +0200 Subject: [PATCH] Fix build failure due to wrongly configured SonarQube --- app/build.gradle | 9 --------- build.gradle | 11 ++++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 493a64f..6cd3c1b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -220,13 +220,4 @@ dependencies { // https://github.com/square/leakcanary/releases debugImplementation "com.squareup.leakcanary:leakcanary-android:2.9.1" -} - -sonarqube { - properties { - property "sonar.projectKey", "kirmanak_Mealient" - property "sonar.organization", "kirmanak" - property "sonar.host.url", "https://sonarcloud.io" - property "sonar.androidLint.reportPaths", "build/reports/lint-results-debug.xml" - } } \ No newline at end of file diff --git a/build.gradle b/build.gradle index a252249..a3382a8 100644 --- a/build.gradle +++ b/build.gradle @@ -40,4 +40,13 @@ plugins { task clean(type: Delete) { delete rootProject.buildDir -} \ No newline at end of file +} + +sonarqube { + properties { + property "sonar.projectKey", "kirmanak_Mealient" + property "sonar.organization", "kirmanak" + property "sonar.host.url", "https://sonarcloud.io" + property "sonar.androidLint.reportPaths", "build/reports/lint-results-debug.xml" + } +}