Skip to content

Commit 974e42d

Browse files
Remove deprecated annotations on names we are using
Although they are deprecated for users of the scanner, we still need to include them for backward compatibility, so they should not be removed and not be marked as deprecated.
1 parent 572d0d3 commit 974e42d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/main/java/org/sonarqube/gradle/ScanPropertyNames.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public final class ScanPropertyNames {
5252
public static final String JAVA_LIBRARIES = "sonar.java.libraries";
5353
public static final String JAVA_TEST_BINARIES = "sonar.java.test.binaries";
5454
public static final String JAVA_TEST_LIBRARIES = "sonar.java.test.libraries";
55-
/** @deprecated Kept for backward compatibility */
56-
@Deprecated
55+
56+
/** Kept for backward compatibility */
5757
public static final String LIBRARIES = "sonar.libraries";
5858

5959
// Groovy configuration
@@ -64,11 +64,11 @@ public final class ScanPropertyNames {
6464

6565
// Test reports
6666
public static final String JUNIT_REPORT_PATHS = "sonar.junit.reportPaths";
67-
/** @deprecated Kept for backward compatibility */
68-
@Deprecated
67+
68+
/** Kept for backward compatibility */
6969
public static final String JUNIT_REPORTS_PATH = "sonar.junit.reportsPath";
70-
/** @deprecated Kept for backward compatibility */
71-
@Deprecated
70+
71+
/** Kept for backward compatibility */
7272
public static final String SUREFIRE_REPORTS_PATH = "sonar.surefire.reportsPath";
7373

7474
// Coverage reports
@@ -77,9 +77,7 @@ public final class ScanPropertyNames {
7777
// Android
7878
public static final String ANDROID_LINT_REPORT_PATHS = "sonar.androidLint.reportPaths";
7979

80-
// Deprecated properties
81-
/** @deprecated Kept for backward compatibility */
82-
@Deprecated
80+
/** Kept for backward compatibility */
8381
public static final String BINARIES = "sonar.binaries";
8482

8583
private ScanPropertyNames() {

0 commit comments

Comments
 (0)