From 0083ef053bdab8688d7ab3597f4210c83df0d4e6 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 26 Jul 2021 13:43:01 +0200 Subject: [PATCH] Remove Gradle option annotation for -Xbuiltins-from-sources This is an internal compiler argument for FIR which doesn't seem valuable enough to be exposed in Gradle, because it'd require to perform some kind of deprecation if it's changed or removed. It'll still be possible to use it via `freeCompilerArgs += "-Xbuiltins-from-sources"`. Note that generated Gradle options are not changed because the generator was not rerun after adding this compiler argument. (And the test that checks that the generator was run is failing right now.) --- .../kotlin/cli/common/arguments/CommonCompilerArguments.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/CommonCompilerArguments.kt b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/CommonCompilerArguments.kt index e22dc451845..7a58df77bcc 100644 --- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/CommonCompilerArguments.kt +++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/CommonCompilerArguments.kt @@ -369,7 +369,6 @@ abstract class CommonCompilerArguments : CommonToolArguments() { ) var extendedCompilerChecks: Boolean by FreezableVar(false) - @GradleOption(DefaultValues.BooleanFalseDefault::class) @Argument( value = "-Xbuiltins-from-sources", description = "Compile builtIns from sources"