Postpone enabling JSpecify annotations by default until 2.0

Thus, KT-55586 is being postponed, too.
The reasoning behind this change is that the language-committee issue
has not been approved yet, so new annotation package can't be enabled
by default, but it seems that it doesn't make sense having
a different behavior for the old one but at least that would make them
work consistently, so we postpone them, too.
This commit is contained in:
Denis.Zharkov
2023-06-06 11:05:35 +02:00
committed by Space Team
parent 53c488079f
commit 0775748aa9
2 changed files with 7 additions and 4 deletions
@@ -45,12 +45,12 @@ val NULLABILITY_ANNOTATION_SETTINGS: NullabilityAnnotationStates<JavaNullability
FqName("lombok") to JavaNullabilityAnnotationsStatus.DEFAULT,
JSPECIFY_OLD_ANNOTATIONS_PACKAGE to JavaNullabilityAnnotationsStatus(
reportLevelBefore = ReportLevel.WARN,
sinceVersion = KotlinVersion(1, 9),
sinceVersion = KotlinVersion(2, 0),
reportLevelAfter = ReportLevel.STRICT
),
JSPECIFY_ANNOTATIONS_PACKAGE to JavaNullabilityAnnotationsStatus(
reportLevelBefore = ReportLevel.WARN,
sinceVersion = KotlinVersion(1, 9),
sinceVersion = KotlinVersion(2, 0),
reportLevelAfter = ReportLevel.STRICT
),
RXJAVA3_ANNOTATIONS_PACKAGE to JavaNullabilityAnnotationsStatus(