ankushg
10/18/2021, 9:12 PMfreeCompilerArgs
vs kotlinOptions
Is there a philosophy on which CLI args should be configurable via gradle properties vs which ones shouldn't? Are there docs on which flags are more experimental than others?
I initially assumed that maybe only stable things make it into the Gradle DSL, but I'm also seeing a few experimental things available in there too (e.g., KotlinCommonOptions.useFir
)
I mostly want to avoid spamming youtrack tickets or PRs for every little CLI arg if there's a process that's being followed that I just don't know about 😅gammax
10/18/2021, 11:05 PMtapchicoma
10/19/2021, 8:18 AMkotlinOptions { ... }
into Gradle properties api (should simplify life inside the Kotlin plugin). Could also look what additionally should be available in the DSL.
Generally I would say all non-experimental options that make sense to expose in Gradle DSL should be available in DSL.
You could add in this thread name of options that are missing and should be explicitly exposed via DSL.mbonnin
10/19/2021, 8:38 AMOpt-In
marker?mbonnin
10/19/2021, 8:38 AMmbonnin
10/19/2021, 8:39 AMtapchicoma
10/19/2021, 1:16 PMfreeCompilerArgs
and provide proper DSL for each compiler option.mbonnin
10/19/2021, 1:19 PMexperimental
(which is maybe already the case?)ankushg
11/02/2021, 7:41 PM-source-map-base-dirs