Skip to content

Commit

Permalink
feat: Enable gradle 8 by default in android local builds. (#3789)
Browse files Browse the repository at this point in the history
  • Loading branch information
shannah authored Feb 25, 2024
1 parent d6000a5 commit 50cbaf4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class AndroidGradleBuilder extends Executor {
private String gradle8DistributionUrl = "https://services.gradle.org/distributions/gradle-8.1-bin.zip";
public boolean PREFER_MANAGED_GRADLE=true;

private boolean useGradle8 = false;
private boolean useGradle8 = true;

private boolean extendAppCompatActivity = false;

Expand Down Expand Up @@ -474,7 +474,7 @@ private static String escape(String str, String chars) {
@Override
public boolean build(File sourceZip, final BuildRequest request) throws BuildException {
boolean facebookSupported = request.getArg("facebook.appId", null) != null;
newFirebaseMessaging = request.getArg("android.newFirebaseMessaging", "false").equals("true");
newFirebaseMessaging = request.getArg("android.newFirebaseMessaging", "true").equals("true");
useGradle8 = request.getArg("android.useGradle8", ""+(useGradle8 || newFirebaseMessaging || facebookSupported)).equals("true");
extendAppCompatActivity = request.getArg("android.extendAppCompatActivity", "false").equals("true");
useJava8SourceLevel = request.getArg("android.java8", ""+useJava8SourceLevel).equals("true");
Expand Down

0 comments on commit 50cbaf4

Please sign in to comment.