Skip to content

Commit

Permalink
ci(all): Update Google Java Format tool (#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuberen authored Mar 12, 2024
1 parent 2119168 commit 85b4423
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: "Install Tools"
run: |
./.github/workflows/scripts/install-tools.sh
curl -sL https://github.com/google/google-java-format/releases/download/google-java-format-1.3/google-java-format-1.3-all-deps.jar -o $HOME/google-java-format.jar
curl -sL https://github.com/google/google-java-format/releases/download/v1.21.0/google-java-format-1.21.0-all-deps.jar -o $HOME/google-java-format.jar
- name: "Bootstrap Workspace"
run: melos bootstrap
- name: "Validate Dart formatting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Oct 05 10:00:26 EEST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import java.util.concurrent.atomic.AtomicBoolean;
import org.json.JSONException;
import org.json.JSONObject;

/**
* An background execution abstraction which handles initializing a background isolate running a
* callback dispatcher, used to invoke Dart callbacks while backgrounded.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Oct 05 12:15:50 EEST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
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.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public final class AndroidIntentPlugin implements FlutterPlugin, ActivityAware {
* <p>See {@code io.flutter.plugins.androidintentexample.MainActivity} for an example.
*/
public AndroidIntentPlugin() {
sender = new IntentSender(/*activity=*/ null, /*applicationContext=*/ null);
sender = new IntentSender(/* activity= */ null, /* applicationContext= */ null);
impl = new MethodCallHandlerImpl(sender);
}

Expand Down
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.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ List<String> getNetworkTypes() {
types.add(CONNECTIVITY_NONE);
}
} else {
// For legacy versions, return a single type as before or adapt similarly if multiple types need to be supported
// For legacy versions, return a single type as before or adapt similarly if multiple types
// need to be supported
return getNetworkTypesLegacy();
}

Expand Down

0 comments on commit 85b4423

Please sign in to comment.