Skip to content

Commit

Permalink
code for running SonarQube
Browse files Browse the repository at this point in the history
this code had to be added the build.gradle folder in order to be able to run SonarQube for code analysis.
  • Loading branch information
moemnml33 committed Apr 28, 2024
1 parent 17c4d63 commit 6ac877c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath 'com.android.tools.build:gradle:8.3.2'
classpath 'com.google.gms:google-services:4.4.1'
}
}

plugins {
id "org.sonarqube" version "3.0"
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'


allprojects {
repositories {
google()
Expand Down Expand Up @@ -129,6 +133,7 @@ android {

dependencies {
implementation 'com.google.firebase:firebase-firestore:24.10.3'
implementation 'com.google.firebase:firebase-database:20.3.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'

implementation 'androidx.appcompat:appcompat:1.6.1'
Expand Down

0 comments on commit 6ac877c

Please sign in to comment.