Skip to content

Commit 35c4ebe

Browse files
committed
Changed property name
This name is already used by Sonar Kotlin plugin. Using the same name will produce same issues.
1 parent 43696e6 commit 35c4ebe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ SonarQube plugin for supporting Android Lint
2020

2121
### Settings
2222

23-
To specify Android Lint report file you can use `sonar.androidLint.reportPaths` property. It's comma-delimited list of paths to AndroidLint reports.
23+
To specify Android Lint report file you can use `sonar.android.lint.reportPaths` property. It's comma-delimited list of paths to AndroidLint reports.
2424

2525
For example, in the project configuration
2626

2727
```groovy
2828
sonarqube {
2929
properties {
30-
property "sonar.androidLint.reportPaths", "build/reports/lint-results.xml"
30+
property "sonar.android.lint.reportPaths", "build/reports/lint-results.xml"
3131
}
3232
}
3333
```

src/main/kotlin/com/github/jvilya/sonar/android/lint/AndrodLint.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ package com.github.jvilya.sonar.android.lint
33
const val LANGUAGE_KEY = "android"
44
const val LANGUAGE_NAME = "Android Lint"
55

6-
const val REPORT_PROPERTY_KEY = "sonar.androidLint.reportPaths"
6+
const val REPORT_PROPERTY_KEY = "sonar.android.lint.reportPaths"
77

88
const val REPOSITORY_KEY = "android-lint"

src/main/kotlin/com/github/jvilya/sonar/android/lint/AndroidLintPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AndroidLintPlugin : Plugin {
1414
AndroidLintRulesDefinition::class.java,
1515
AndroidLintSensor::class.java,
1616
AndroidLintLanguage::class.java,
17-
PropertyDefinition.builder("sonar.androidLint.reportPaths")
17+
PropertyDefinition.builder("sonar.android.lint.reportPaths")
1818
.name("Android Lint Report Files")
1919
.description("Paths (absolute or relative) to xml files with Android Lint issues.")
2020
.onQualifiers(listOf(Qualifiers.PROJECT))

0 commit comments

Comments
 (0)