Skip to content

Commit 9e91c1b

Browse files
PLUGINAPI-186 Deprecate PropertyDefinitions (#284)
1 parent ec4bc96 commit 9e91c1b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 13.6
4+
* Deprecate `org.sonar.api.config.PropertyDefinitions`. Use `PropertyDefinition.builder(String)` to declare properties instead.
5+
36
## 13.5
47
* Introduce support for issue resolution from sensors:
58
* Introduce `org.sonar.api.batch.sensor.issue.NewIssueResolution`

plugin-api/src/main/java/org/sonar/api/config/PropertyDefinitions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
* Metadata of all the properties declared by plugins
4747
*
4848
* @since 2.12
49+
* @deprecated since 13.6. Use {@link PropertyDefinition#builder(String)} to declare properties instead.
4950
*/
51+
@Deprecated(since = "13.6", forRemoval = true)
5052
@ScannerSide
5153
@ServerSide
5254
@ComputeEngineSide

0 commit comments

Comments
 (0)