Would it be worth filing a FR to print out more di...
# eap
z
Would it be worth filing a FR to print out more diagnostic information for where these are being set? I’m unable to see where this is being set in our build without using a debugger to breakpoint calls to that
Copy code
> Task :apps:app-legacy:compileInternalDebugUnitTestKotlin
kotlinOptions.freeCompilerArgs were changed on task :apps:app-legacy:compileInternalDebugUnitTestKotlin execution phase: -progressive, -Xinline-classes, -Xjsr305=strict, -opt-in=kotlin.contracts.ExperimentalContracts, -opt-in=kotlin.experimental.ExperimentalTypeInference, -opt-in=kotlin.ExperimentalStdlibApi, -opt-in=kotlin.time.ExperimentalTime, -Xassertions=jvm, -Xemit-jvm-type-annotations, -Xproper-ieee754-comparisons, -Xjvm-default=all, -Xtype-enhancement-improvements-strict-mode, -Xjspecify-annotations=strict, -Xenhance-type-parameter-types-to-def-not-null, -Xself-upper-bound-inference, -Xskip-prerelease-check, -P, plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=1.8.0-RC2-330, -opt-in=com.slack.eithernet.ExperimentalEitherNetApi, -opt-in=com.slack.eithernet.ExperimentalEitherNetApi, -opt-in=com.slack.eithernet.ExperimentalEitherNetApi, -Xplugin=/Users/zacsweers/.gradle/caches/modules-2/files-2.1/androidx.compose.compiler/compiler/1.4.0-dev-k1.8.0-RC-4c1865595ed/70f3ba3161f2b13d7a24fcbd31d77cd103566985/compiler-1.4.0-dev-k1.8.0-RC-4c1865595ed.jar, -P, plugin:androidx.compose.plugins.idea:enabled=true, -Xallow-unstable-dependencies
This behaviour is deprecated and become an error in future releases!
t
hm, yes. Please open, though it will be added only in 1.8.20 release.
also fyi there are two know cases - one is
kotlin-dsl
plugin and another one is in the compose
z
Compose-JB or coming from AGP?
t
agp
z
Also do you know how to disable the noise from them or disable this warning?
t
add
kotlin.options.suppressFreeCompilerArgsModificationWarning=true
into
gradle.properties