File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ android {
4747 // Suppresses an expected warning that triggers a build failure because allWarningsAsErrors is true
4848 // See https://youtrack.jetbrains.com/issue/KT-68400/K2-w-Kapt-currently-doesnt-support-language-version-2.0.-Falling-back-to-1.9.
4949 freeCompilerArgs.add(" -Xsuppress-version-warnings" )
50+ // From Kotlin 2.2, need to specify default rule for annotations
51+ // See http://youtrack.jetbrains.com/issue/KT-73255
52+ freeCompilerArgs.add(" -Xannotation-default-target=param-property" )
5053 }
5154 }
5255
Original file line number Diff line number Diff line change @@ -21,14 +21,6 @@ android {
2121 buildFeatures {
2222 compose = true
2323 }
24-
25- kotlin {
26- compilerOptions {
27- // From Kotlin 2.2, need to specify default rule for annotations
28- // See http://youtrack.jetbrains.com/issue/KT-73255
29- freeCompilerArgs.add(" -Xannotation-default-target=param-property" )
30- }
31- }
3224}
3325
3426dependencies {
You can’t perform that action at this time.
0 commit comments