From 05efbb2470c08d65f420d45b5974f15ca01c2536 Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Mon, 26 Jun 2023 11:50:57 -0400 Subject: [PATCH] [ci] Remove jcenter from legacy project (#4306) The checked in legacy Android project used for compat testing accidentally re-introduced a `jcenter` depedency into the repo. Since that has server implications, we shouldn't be using it; this updates the legacy package to replace `jcenter` with `mavenCentral`, as we did a while ago in all of our packages and templates. Fixes https://github.com/flutter/flutter/issues/129467 --- .ci/legacy_project/README.md | 2 ++ .ci/legacy_project/all_packages/android/build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/legacy_project/README.md b/.ci/legacy_project/README.md index c10ace0b2c..ac2285a1c5 100644 --- a/.ci/legacy_project/README.md +++ b/.ci/legacy_project/README.md @@ -35,3 +35,5 @@ flutter create -a java all_packages and then deleting everything but `android/` from it: - Added license boilerplate. +- Replaced `jcenter` in build.gradle with `mavenCentral`, due to the + jcenter.bintray.com shutdown. diff --git a/.ci/legacy_project/all_packages/android/build.gradle b/.ci/legacy_project/all_packages/android/build.gradle index c9e3db0a0f..0b4cf534e0 100644 --- a/.ci/legacy_project/all_packages/android/build.gradle +++ b/.ci/legacy_project/all_packages/android/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -12,7 +12,7 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } }