From d8dd6ca6eba2c9b7c8650d667c4645c23d11b960 Mon Sep 17 00:00:00 2001 From: Surendar D Date: Fri, 10 May 2019 17:17:20 +0530 Subject: [PATCH] Sonarqube commit --- app/build.gradle | 16 +++++++++++++--- app/release/app-release.apk | Bin 1445041 -> 0 bytes app/release/output.json | 2 +- build.gradle | 5 +++-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e44dc37..969c244 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,5 @@ apply plugin: 'com.android.application' - +apply plugin: 'org.sonarqube' android { signingConfigs { release { @@ -14,8 +14,8 @@ android { applicationId "com.excel.applicationtest" minSdkVersion 15 targetSdkVersion 28 - versionCode 8 - versionName "1.8" + versionCode 9 + versionName "1.9" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { @@ -25,6 +25,15 @@ android { //signingConfig signingConfigs.release } } + sonarqube { + properties { + property "sonar.projectKey", "ApplicationTest" + property "sonar.login", "771c3f575db3f3240ddf1a4154b94db1d5a217b9" + property "sonar.host.url", "http://localhost:9000" +// property "sonar.login", "admin" +// property "sonar.password", "admin" + } + } } dependencies { @@ -35,3 +44,4 @@ dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } + diff --git a/app/release/app-release.apk b/app/release/app-release.apk index 2045b1e..104560a 100644 Binary files a/app/release/app-release.apk and b/app/release/app-release.apk differ diff --git a/app/release/output.json b/app/release/output.json index 21b3801..2fa2745 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":8,"versionName":"1.8","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":9,"versionName":"1.9","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/build.gradle b/build.gradle index fafc1b9..c3c30e8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. - buildscript { repositories { google() jcenter() - + maven { url "https://plugins.gradle.org/m2/" } + } dependencies { classpath 'com.android.tools.build:gradle:3.4.0' + classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files -- libgit2 0.21.0