JvmDefault. Add deprecation warning for '-Xjvm-default=enable|compatibility' options
#KT-46329
This commit is contained in:
committed by
Alexander Udalov
parent
42a465efe2
commit
8f60f73207
@@ -161,6 +161,10 @@ fun Project.configureKotlinCompilationOptions() {
|
||||
// TODO: fix remaining warnings and remove this property.
|
||||
val tasksWithWarnings = listOf(
|
||||
":kotlin-gradle-plugin:compileCommonKotlin",
|
||||
// Temporarily disable -Werror for the following modules because of deprecation warning for `-Xjvm-default=compatibility`.
|
||||
// These modules should be removed after they are migrated to `-Xjvm-default=all/all-compatibility`.
|
||||
":compiler:frontend:compileKotlin",
|
||||
":kotlin-scripting-intellij:compileKotlin",
|
||||
)
|
||||
|
||||
val projectsWithEnabledContextReceivers: List<String> by rootProject.extra
|
||||
|
||||
Reference in New Issue
Block a user