Skip to content

Commit b2aa3fd

Browse files
committed
CHANGE gradle.properties to suppress a useless warning
1 parent 9759a02 commit b2aa3fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ android.nonTransitiveRClass=true
3030

3131
# Enables improved dependency version constraint resolution introduced in AGP 9.x.
3232
android.dependency.useConstraints=true
33+
3334
# AGP 9.x enables R8 strict full mode by default; keeping false avoids failures from non-conforming third-party keep rules.
3435
android.r8.strictFullModeForKeepRules=false
3536

37+
# android.dependency.excludeLibraryComponentsFromConstraints is DEPRECATED and will be removed in AGP 10.0.0
38+
# omitting it however, would cause AGP 9.x to output a warning
39+
# to supress that warning, we set android.generateSyncIssueWhenLibraryConstraintsAreEnabled to false
40+
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
3641

3742
# Project uses Groovy DSL; enabling the new DSL would break existing build scripts.
3843
android.newDsl=false

0 commit comments

Comments
 (0)