Skip to content

Commit 6f636ba

Browse files
authored
Merge pull request #287 from LuminLynx/claude/capabilities-discussion-cvpra2
build: enable K2 UAST for lint to silence Analysis API warnings
2 parents b8613c5 + 6ebd7f9 commit 6f636ba

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
22
android.useAndroidX=true
33
kotlin.code.style=official
44
android.nonTransitiveRClass=true
5+
6+
# Lint uses the K2 Analysis API, aligning it with Kotlin 2.0.x and
7+
# silencing the spurious "Missing analysis API method" warnings emitted
8+
# by the legacy (K1) UAST during lintVital on release builds.
9+
android.lint.useK2Uast=true

0 commit comments

Comments
 (0)