Replace -Xuse-experimental with -Xopt-in in codebase

This commit is contained in:
Mikhail Glukhikh
2021-07-07 15:41:04 +03:00
committed by teamcityserver
parent 195b6d1fb1
commit 47c8bab48e
7 changed files with 12 additions and 17 deletions
@@ -15,7 +15,7 @@ import kotlin.annotation.AnnotationTarget.*
*
* Any usage of a declaration annotated with `@ExperimentalCli` must be accepted either by
* annotating that usage with the [UseExperimental] annotation, e.g. `@UseExperimental(ExperimentalCli::class)`,
* or by using the compiler argument `-Xuse-experimental=kotlinx.cli.ExperimentalCli`.
* or by using the compiler argument `-Xopt-in=kotlinx.cli.ExperimentalCli`.
*/
@RequiresOptIn("This API is experimental. It may be changed in the future without notice.", RequiresOptIn.Level.WARNING)
@Retention(AnnotationRetention.BINARY)