-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to AGP 8.5.2 #524
base: master
Are you sure you want to change the base?
Upgrade to AGP 8.5.2 #524
Changes from 3 commits
7fb110a
5866270
c66575a
a35b414
cfe5ca1
2d8b7ac
6484fa3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
dependencyLocking { | ||
lockAllConfigurations() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We still need to lock the dependencies, this might lead to a large amount of changes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
lockMode = LockMode.STRICT | ||
} | ||
//dependencyLocking { | ||
// lockAllConfigurations() | ||
// lockMode = LockMode.STRICT | ||
//} | ||
|
||
allprojects { | ||
repositories { | ||
|
@@ -16,17 +16,17 @@ buildscript { | |
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.0.4' | ||
classpath 'com.android.tools.build:gradle:8.5.2' | ||
|
||
// For Firebase Analytics | ||
classpath 'com.google.gms:google-services:4.3.10' | ||
classpath 'com.google.firebase:perf-plugin:1.4.0' | ||
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1' | ||
} | ||
dependencyLocking { | ||
lockAllConfigurations() | ||
lockMode = LockMode.STRICT | ||
classpath 'com.google.gms:google-services:4.4.2' | ||
classpath 'com.google.firebase:perf-plugin:1.4.2' | ||
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2' | ||
} | ||
// dependencyLocking { | ||
// lockAllConfigurations() | ||
// lockMode = LockMode.STRICT | ||
// } | ||
} | ||
|
||
task clean(type: Delete) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,9 @@ android.useAndroidX=true | |
ANDROID_COMPILE_SDK_VERSION=33 | ||
ANDROID_BUILD_TOOLS_VERSION=33.0.0 | ||
|
||
ANDROID_MIN_SDK_VERSION=16 | ||
ANDROID_MIN_SDK_VERSION=21 | ||
ANDROID_TARGET_SDK_VERSION=33 | ||
org.gradle.dependency.verification=off | ||
android.defaults.buildfeatures.buildconfig=true | ||
android.nonTransitiveRClass=false | ||
android.nonFinalResIds=false | ||
Comment on lines
+31
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these two settings necessary? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. well, starting Android Gradle Plugin (AGP) version 8.0 and above, the default value for:
Also, I don't think we need to change how it's done, since I'm worried it might mess up other stuff. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. my suggestion is, if we're going to change these, we should do it in a separate PR. wdyt? |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment is not accurate any more?