JVM: refactor JvmDefaultMode, remove/rename some entries
- remove ENABLE/COMPATIBILITY because they can no longer be used - remove forAllMethodsWithBody because its behavior is now equivalent to isEnabled - inline isCompatibility - inline DEFAULT - rename ALL_INCOMPATIBLE -> ALL
This commit is contained in:
committed by
Space Team
parent
6219806ab9
commit
28797a31b4
@@ -20,7 +20,7 @@ class Kapt4EnvironmentConfigurator(testServices: TestServices) : EnvironmentConf
|
||||
languageVersion: LanguageVersion,
|
||||
): Map<AnalysisFlag<*>, Any?> = mapOf(
|
||||
JvmAnalysisFlags.generatePropertyAnnotationsMethods to true,
|
||||
JvmAnalysisFlags.jvmDefaultMode to JvmDefaultMode.ALL_INCOMPATIBLE
|
||||
JvmAnalysisFlags.jvmDefaultMode to JvmDefaultMode.ALL
|
||||
)
|
||||
|
||||
override val directiveContainers: List<DirectivesContainer> = listOf(Kapt4TestDirectives)
|
||||
|
||||
Reference in New Issue
Block a user