Chrimaeon
12/24/2021, 11:40 AMbuild.gradle.kts
that are experimental and require a RequiresOptIn
annotation like @ExperimentalPathApi
. I'm using those in the build script with the @OptIn
annotation. Problem/Issue now is a warning in the build script that I did not add the RequiresOptIn
to the kotlin compiler options - but where do I add this compiler option for the Gradle script Kotlin compiler?
An example of the issue can be seen here: https://github.com/chrimaeon/curriculumvitae/blob/03663b8ee32f3f83746536f7ac093df5a93a5953/app/build.gradle.kts#L40nuhkoca
12/25/2021, 5:41 PMkotlinOptions {
freeCompilerArgs = freeCompilerArgs+=" -Xopt-in=kotlin.RequiresOptIn"
}
Chrimaeon
12/25/2021, 8:45 PMallProjects
functions.