We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37603f3 commit da67d41Copy full SHA for da67d41
build-logic/plugins/src/main/kotlin/AndroidLibraryConventionPlugin.kt
@@ -72,8 +72,9 @@ class AndroidLibraryConventionPlugin : Plugin<Project> {
72
}
73
74
tasks.withType<KotlinCompile>().configureEach {
75
- kotlinOptions {
76
- freeCompilerArgs = freeCompilerArgs + amplifyInternalMarkers.map { "-opt-in=$it" }
+ compilerOptions {
+ freeCompilerArgs.addAll(amplifyInternalMarkers.map { "-opt-in=$it" })
77
+ freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility")
78
79
80
0 commit comments