Commit d8dd6ca6eba2c9b7c8650d667c4645c23d11b960

Authored by Surendar D
1 parent 70142402
Exists in master

Sonarqube commit

app/build.gradle
1 1 apply plugin: 'com.android.application'
2   -
  2 +apply plugin: 'org.sonarqube'
3 3 android {
4 4 signingConfigs {
5 5 release {
... ... @@ -14,8 +14,8 @@ android {
14 14 applicationId "com.excel.applicationtest"
15 15 minSdkVersion 15
16 16 targetSdkVersion 28
17   - versionCode 8
18   - versionName "1.8"
  17 + versionCode 9
  18 + versionName "1.9"
19 19 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
20 20 }
21 21 buildTypes {
... ... @@ -25,6 +25,15 @@ android {
25 25 //signingConfig signingConfigs.release
26 26 }
27 27 }
  28 + sonarqube {
  29 + properties {
  30 + property "sonar.projectKey", "ApplicationTest"
  31 + property "sonar.login", "771c3f575db3f3240ddf1a4154b94db1d5a217b9"
  32 + property "sonar.host.url", "http://localhost:9000"
  33 +// property "sonar.login", "admin"
  34 +// property "sonar.password", "admin"
  35 + }
  36 + }
28 37 }
29 38  
30 39 dependencies {
... ... @@ -35,3 +44,4 @@ dependencies {
35 44 androidTestImplementation 'com.android.support.test:runner:1.0.2'
36 45 androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
37 46 }
  47 +
... ...
app/release/app-release.apk
No preview for this file type
app/release/output.json
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":{}}]
2 1 \ No newline at end of file
  2 +[{"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":{}}]
3 3 \ No newline at end of file
... ...
build.gradle
1 1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
2   -
3 2 buildscript {
4 3 repositories {
5 4 google()
6 5 jcenter()
7   -
  6 + maven { url "https://plugins.gradle.org/m2/" }
  7 +
8 8 }
9 9 dependencies {
10 10 classpath 'com.android.tools.build:gradle:3.4.0'
  11 + classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6'
11 12  
12 13 // NOTE: Do not place your application dependencies here; they belong
13 14 // in the individual module build.gradle files
... ...