[Compiler CLI] Use reading language version settings from environment only if the resource is presented or flag is set
This commit is contained in:
committed by
teamcity
parent
683a3e74a0
commit
5c8ca0ca9b
@@ -464,6 +464,10 @@ interface LanguageVersionSettings {
|
||||
|
||||
// Please do not use this to enable/disable specific features/checks. Instead add a new LanguageFeature entry and call supportsFeature
|
||||
val languageVersion: LanguageVersion
|
||||
|
||||
companion object {
|
||||
const val RESOURCE_NAME_TO_ALLOW_READING_FROM_ENVIRONMENT = "META-INF/allow-configuring-from-environment"
|
||||
}
|
||||
}
|
||||
|
||||
class LanguageVersionSettingsImpl @JvmOverloads constructor(
|
||||
|
||||
Reference in New Issue
Block a user