mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Remove redundant opt-in flags (#1544)
* Remove "-opt-in=com.squareup.kotlinpoet.ksp.KotlinPoetKspPreview" Unused now * Remove redundant -opt-in=RequiresOptIn
This commit is contained in:
@@ -16,9 +16,7 @@ tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
@Suppress("SuspiciousCollectionReassignment")
|
||||
freeCompilerArgs += listOf(
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=com.squareup.kotlinpoet.metadata.KotlinPoetMetadataPreview",
|
||||
"-opt-in=com.squareup.kotlinpoet.ksp.KotlinPoetKspPreview",
|
||||
"-opt-in=com.squareup.moshi.kotlin.codegen.api.InternalMoshiCodegenApi",
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user