diff --git a/fleet/build/authentication/BUILD.bazel b/fleet/build/authentication/BUILD.bazel index 74163ca9d347..b1092d3961ca 100644 --- a/fleet/build/authentication/BUILD.bazel +++ b/fleet/build/authentication/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/authentication/fleet.build.authentication.iml b/fleet/build/authentication/fleet.build.authentication.iml index b9ebf66cbf0a..ec4d688454fe 100644 --- a/fleet/build/authentication/fleet.build.authentication.iml +++ b/fleet/build/authentication/fleet.build.authentication.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/authentication/gradlebuild/build.gradle.kts b/fleet/build/authentication/gradlebuild/build.gradle.kts index 8bf2eaa85ff6..094bb75fd2b2 100644 --- a/fleet/build/authentication/gradlebuild/build.gradle.kts +++ b/fleet/build/authentication/gradlebuild/build.gradle.kts @@ -31,6 +31,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/cli/BUILD.bazel b/fleet/build/cli/BUILD.bazel index 6bbb656e9515..7042062ade17 100644 --- a/fleet/build/cli/BUILD.bazel +++ b/fleet/build/cli/BUILD.bazel @@ -19,6 +19,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/cli/fleet.build.cli.iml b/fleet/build/cli/fleet.build.cli.iml index e442aadb6e7e..1ed89cc46a88 100644 --- a/fleet/build/cli/fleet.build.cli.iml +++ b/fleet/build/cli/fleet.build.cli.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/cli/gradlebuild/build.gradle.kts b/fleet/build/cli/gradlebuild/build.gradle.kts index dcf0a2a88135..2b420221fd14 100644 --- a/fleet/build/cli/gradlebuild/build.gradle.kts +++ b/fleet/build/cli/gradlebuild/build.gradle.kts @@ -44,6 +44,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/codecache/BUILD.bazel b/fleet/build/codecache/BUILD.bazel index e60ab0fc7a59..f8969c40234a 100644 --- a/fleet/build/codecache/BUILD.bazel +++ b/fleet/build/codecache/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/codecache/fleet.build.codecache.iml b/fleet/build/codecache/fleet.build.codecache.iml index 52df72fed3e3..ad3c6943a240 100644 --- a/fleet/build/codecache/fleet.build.codecache.iml +++ b/fleet/build/codecache/fleet.build.codecache.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/codecache/gradlebuild/build.gradle.kts b/fleet/build/codecache/gradlebuild/build.gradle.kts index 2e0ecad043fb..b62369791958 100644 --- a/fleet/build/codecache/gradlebuild/build.gradle.kts +++ b/fleet/build/codecache/gradlebuild/build.gradle.kts @@ -30,6 +30,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/fs/BUILD.bazel b/fleet/build/fs/BUILD.bazel index 599ed1050b5c..14539941802d 100644 --- a/fleet/build/fs/BUILD.bazel +++ b/fleet/build/fs/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/fs/fleet.build.fs.iml b/fleet/build/fs/fleet.build.fs.iml index 86dea84cfac3..55c7ef4551f1 100644 --- a/fleet/build/fs/fleet.build.fs.iml +++ b/fleet/build/fs/fleet.build.fs.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/fs/gradlebuild/build.gradle.kts b/fleet/build/fs/gradlebuild/build.gradle.kts index 1edfd0d99a2f..a79b68f4cd22 100644 --- a/fleet/build/fs/gradlebuild/build.gradle.kts +++ b/fleet/build/fs/gradlebuild/build.gradle.kts @@ -31,6 +31,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/http/BUILD.bazel b/fleet/build/http/BUILD.bazel index b00aa387d017..4aaaa6969f59 100644 --- a/fleet/build/http/BUILD.bazel +++ b/fleet/build/http/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/http/fleet.build.http.iml b/fleet/build/http/fleet.build.http.iml index 959802935fdd..89d452d7c67b 100644 --- a/fleet/build/http/fleet.build.http.iml +++ b/fleet/build/http/fleet.build.http.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/http/gradlebuild/build.gradle.kts b/fleet/build/http/gradlebuild/build.gradle.kts index 7659cb3339ba..1baadbeeddff 100644 --- a/fleet/build/http/gradlebuild/build.gradle.kts +++ b/fleet/build/http/gradlebuild/build.gradle.kts @@ -31,6 +31,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/license/BUILD.bazel b/fleet/build/license/BUILD.bazel index 34f6ce457f21..7fb2be415499 100644 --- a/fleet/build/license/BUILD.bazel +++ b/fleet/build/license/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/license/fleet.build.license.iml b/fleet/build/license/fleet.build.license.iml index 33f3c87c77bd..4acfccac1da4 100644 --- a/fleet/build/license/fleet.build.license.iml +++ b/fleet/build/license/fleet.build.license.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/license/gradlebuild/build.gradle.kts b/fleet/build/license/gradlebuild/build.gradle.kts index 59a631620c55..1959f6896d4c 100644 --- a/fleet/build/license/gradlebuild/build.gradle.kts +++ b/fleet/build/license/gradlebuild/build.gradle.kts @@ -31,6 +31,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/platform/BUILD.bazel b/fleet/build/platform/BUILD.bazel index 0bfcd2d1829d..2141a7a969da 100644 --- a/fleet/build/platform/BUILD.bazel +++ b/fleet/build/platform/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/platform/fleet.build.platform.iml b/fleet/build/platform/fleet.build.platform.iml index b1568d131236..46ac6631f1c0 100644 --- a/fleet/build/platform/fleet.build.platform.iml +++ b/fleet/build/platform/fleet.build.platform.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/platform/gradlebuild/build.gradle.kts b/fleet/build/platform/gradlebuild/build.gradle.kts index aeff09303dd5..85638e49bcc4 100644 --- a/fleet/build/platform/gradlebuild/build.gradle.kts +++ b/fleet/build/platform/gradlebuild/build.gradle.kts @@ -32,6 +32,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/s3/BUILD.bazel b/fleet/build/s3/BUILD.bazel index f56debad783b..083749934d08 100644 --- a/fleet/build/s3/BUILD.bazel +++ b/fleet/build/s3/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/s3/fleet.build.s3.iml b/fleet/build/s3/fleet.build.s3.iml index c1f4005aa291..998e20e3903b 100644 --- a/fleet/build/s3/fleet.build.s3.iml +++ b/fleet/build/s3/fleet.build.s3.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/s3/gradlebuild/build.gradle.kts b/fleet/build/s3/gradlebuild/build.gradle.kts index 2ce732b8124e..8c42379d10a9 100644 --- a/fleet/build/s3/gradlebuild/build.gradle.kts +++ b/fleet/build/s3/gradlebuild/build.gradle.kts @@ -31,6 +31,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/build/sign/BUILD.bazel b/fleet/build/sign/BUILD.bazel index b8d0a636d954..a2f0179e1871 100644 --- a/fleet/build/sign/BUILD.bazel +++ b/fleet/build/sign/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/build/sign/fleet.build.sign.iml b/fleet/build/sign/fleet.build.sign.iml index 8323eb693514..74fc3a4be57c 100644 --- a/fleet/build/sign/fleet.build.sign.iml +++ b/fleet/build/sign/fleet.build.sign.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/build/sign/gradlebuild/build.gradle.kts b/fleet/build/sign/gradlebuild/build.gradle.kts index 1e03814136df..e9e4b5c7c2dc 100644 --- a/fleet/build/sign/gradlebuild/build.gradle.kts +++ b/fleet/build/sign/gradlebuild/build.gradle.kts @@ -30,6 +30,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/fastutil/BUILD.bazel b/fleet/fastutil/BUILD.bazel index a3d5187e1d83..ffc96847e4fa 100644 --- a/fleet/fastutil/BUILD.bazel +++ b/fleet/fastutil/BUILD.bazel @@ -9,6 +9,7 @@ create_kotlinc_options( "kotlin.ExperimentalStdlibApi", ], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/fastutil/fleet.fastutil.iml b/fleet/fastutil/fleet.fastutil.iml index 3209d1501ce0..93331a3937b5 100644 --- a/fleet/fastutil/fleet.fastutil.iml +++ b/fleet/fastutil/fleet.fastutil.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/fastutil/gradlebuild/build.gradle.kts b/fleet/fastutil/gradlebuild/build.gradle.kts index b2658e4dd5f5..d7a56d657461 100644 --- a/fleet/fastutil/gradlebuild/build.gradle.kts +++ b/fleet/fastutil/gradlebuild/build.gradle.kts @@ -30,6 +30,7 @@ kotlin { "-opt-in=kotlin.ExperimentalStdlibApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/reporting/api/BUILD.bazel b/fleet/reporting/api/BUILD.bazel index fc297ea557a8..5cb2efe55507 100644 --- a/fleet/reporting/api/BUILD.bazel +++ b/fleet/reporting/api/BUILD.bazel @@ -5,6 +5,7 @@ load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup") create_kotlinc_options( name = "custom_api", x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/reporting/api/fleet.reporting.api.iml b/fleet/reporting/api/fleet.reporting.api.iml index 7e7bf2e7fc52..c899349a9899 100644 --- a/fleet/reporting/api/fleet.reporting.api.iml +++ b/fleet/reporting/api/fleet.reporting.api.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/reporting/api/gradlebuild/build.gradle.kts b/fleet/reporting/api/gradlebuild/build.gradle.kts index 054818433de7..cf737654c53a 100644 --- a/fleet/reporting/api/gradlebuild/build.gradle.kts +++ b/fleet/reporting/api/gradlebuild/build.gradle.kts @@ -29,6 +29,7 @@ kotlin { compilerOptions.freeCompilerArgs = listOf( "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/reporting/shared/BUILD.bazel b/fleet/reporting/shared/BUILD.bazel index 2aa42173ba54..a4c841eb5819 100644 --- a/fleet/reporting/shared/BUILD.bazel +++ b/fleet/reporting/shared/BUILD.bazel @@ -6,6 +6,7 @@ create_kotlinc_options( name = "custom_shared", opt_in = ["kotlinx.coroutines.ExperimentalCoroutinesApi"], x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/reporting/shared/fleet.reporting.shared.iml b/fleet/reporting/shared/fleet.reporting.shared.iml index 23dc78769e95..60b6e8ec7647 100644 --- a/fleet/reporting/shared/fleet.reporting.shared.iml +++ b/fleet/reporting/shared/fleet.reporting.shared.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/reporting/shared/gradlebuild/build.gradle.kts b/fleet/reporting/shared/gradlebuild/build.gradle.kts index 08b5f451715e..5d2b684ff09d 100644 --- a/fleet/reporting/shared/gradlebuild/build.gradle.kts +++ b/fleet/reporting/shared/gradlebuild/build.gradle.kts @@ -31,6 +31,7 @@ kotlin { "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi", "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/rpc.server/BUILD.bazel b/fleet/rpc.server/BUILD.bazel index 32d5cee525a7..3aaecb75a5fc 100644 --- a/fleet/rpc.server/BUILD.bazel +++ b/fleet/rpc.server/BUILD.bazel @@ -5,6 +5,7 @@ load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup") create_kotlinc_options( name = "custom_rpc.server", x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/rpc.server/fleet.rpc.server.iml b/fleet/rpc.server/fleet.rpc.server.iml index 545a0b8db1d5..5b1eb1d15735 100644 --- a/fleet/rpc.server/fleet.rpc.server.iml +++ b/fleet/rpc.server/fleet.rpc.server.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/rpc.server/gradlebuild/build.gradle.kts b/fleet/rpc.server/gradlebuild/build.gradle.kts index f763e38df5b9..1c599659f747 100644 --- a/fleet/rpc.server/gradlebuild/build.gradle.kts +++ b/fleet/rpc.server/gradlebuild/build.gradle.kts @@ -28,6 +28,7 @@ kotlin { compilerOptions.freeCompilerArgs = listOf( "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/util/logging/api/BUILD.bazel b/fleet/util/logging/api/BUILD.bazel index 3772aea2cd7f..7a18ff13be51 100644 --- a/fleet/util/logging/api/BUILD.bazel +++ b/fleet/util/logging/api/BUILD.bazel @@ -5,6 +5,7 @@ load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "resourcegro create_kotlinc_options( name = "custom_api", x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/util/logging/api/fleet.util.logging.api.iml b/fleet/util/logging/api/fleet.util.logging.api.iml index 409687c5a590..31d63878010e 100644 --- a/fleet/util/logging/api/fleet.util.logging.api.iml +++ b/fleet/util/logging/api/fleet.util.logging.api.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/util/logging/api/gradlebuild/build.gradle.kts b/fleet/util/logging/api/gradlebuild/build.gradle.kts index 403b6897ed30..bfb16dc9d7a9 100644 --- a/fleet/util/logging/api/gradlebuild/build.gradle.kts +++ b/fleet/util/logging/api/gradlebuild/build.gradle.kts @@ -34,6 +34,7 @@ kotlin { compilerOptions.freeCompilerArgs = listOf( "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/util/logging/slf4j/BUILD.bazel b/fleet/util/logging/slf4j/BUILD.bazel index 3513aa838ec0..dc6d30bf8c81 100644 --- a/fleet/util/logging/slf4j/BUILD.bazel +++ b/fleet/util/logging/slf4j/BUILD.bazel @@ -5,6 +5,7 @@ load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup") create_kotlinc_options( name = "custom_slf4j", x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/util/logging/slf4j/fleet.util.logging.slf4j.iml b/fleet/util/logging/slf4j/fleet.util.logging.slf4j.iml index a53ef561d18f..4c61a92d0cc3 100644 --- a/fleet/util/logging/slf4j/fleet.util.logging.slf4j.iml +++ b/fleet/util/logging/slf4j/fleet.util.logging.slf4j.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/util/logging/slf4j/gradlebuild/build.gradle.kts b/fleet/util/logging/slf4j/gradlebuild/build.gradle.kts index 49572345511c..86bb4912afd2 100644 --- a/fleet/util/logging/slf4j/gradlebuild/build.gradle.kts +++ b/fleet/util/logging/slf4j/gradlebuild/build.gradle.kts @@ -28,6 +28,7 @@ kotlin { compilerOptions.freeCompilerArgs = listOf( "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", ) diff --git a/fleet/util/multiplatform/BUILD.bazel b/fleet/util/multiplatform/BUILD.bazel index 10765c4865f8..23aeb25ddd67 100644 --- a/fleet/util/multiplatform/BUILD.bazel +++ b/fleet/util/multiplatform/BUILD.bazel @@ -5,6 +5,7 @@ load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( name = "custom_multiplatform", x_consistent_data_class_copy_visibility = True, + x_context_parameters = True, x_jvm_default = "all-compatibility", x_lambdas = "class" ) diff --git a/fleet/util/multiplatform/fleet.util.multiplatform.iml b/fleet/util/multiplatform/fleet.util.multiplatform.iml index 78274162e791..637824b5d001 100644 --- a/fleet/util/multiplatform/fleet.util.multiplatform.iml +++ b/fleet/util/multiplatform/fleet.util.multiplatform.iml @@ -4,7 +4,7 @@ - diff --git a/fleet/util/multiplatform/gradlebuild/build.gradle.kts b/fleet/util/multiplatform/gradlebuild/build.gradle.kts index 679cba640941..f783e1b94db2 100644 --- a/fleet/util/multiplatform/gradlebuild/build.gradle.kts +++ b/fleet/util/multiplatform/gradlebuild/build.gradle.kts @@ -29,6 +29,7 @@ kotlin { compilerOptions.freeCompilerArgs = listOf( "-Xlambdas=class", "-Xconsistent-data-class-copy-visibility", + "-Xcontext-parameters", "-XXLanguage:+AllowEagerSupertypeAccessibilityChecks", "-progressive", )