diff --git a/dev/benchmarks/complex_layout/android/build.gradle b/dev/benchmarks/complex_layout/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/benchmarks/complex_layout/android/build.gradle +++ b/dev/benchmarks/complex_layout/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/benchmarks/macrobenchmarks/android/build.gradle b/dev/benchmarks/macrobenchmarks/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/benchmarks/macrobenchmarks/android/build.gradle +++ b/dev/benchmarks/macrobenchmarks/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/benchmarks/microbenchmarks/android/build.gradle b/dev/benchmarks/microbenchmarks/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/benchmarks/microbenchmarks/android/build.gradle +++ b/dev/benchmarks/microbenchmarks/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/benchmarks/multiple_flutters/android/build.gradle b/dev/benchmarks/multiple_flutters/android/build.gradle index 2bf4a9184f..c68a861f28 100644 --- a/dev/benchmarks/multiple_flutters/android/build.gradle +++ b/dev/benchmarks/multiple_flutters/android/build.gradle @@ -7,7 +7,13 @@ buildscript { ext.kotlin_version = "1.3.72" repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { classpath "com.android.tools.build:gradle:4.1.2" @@ -21,7 +27,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/benchmarks/platform_views_layout/android/build.gradle b/dev/benchmarks/platform_views_layout/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/benchmarks/platform_views_layout/android/build.gradle +++ b/dev/benchmarks/platform_views_layout/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/benchmarks/platform_views_layout_hybrid_composition/android/build.gradle b/dev/benchmarks/platform_views_layout_hybrid_composition/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/benchmarks/platform_views_layout_hybrid_composition/android/build.gradle +++ b/dev/benchmarks/platform_views_layout_hybrid_composition/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/benchmarks/test_apps/stocks/android/build.gradle b/dev/benchmarks/test_apps/stocks/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/benchmarks/test_apps/stocks/android/build.gradle +++ b/dev/benchmarks/test_apps/stocks/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/abstract_method_smoke_test/android/build.gradle b/dev/integration_tests/abstract_method_smoke_test/android/build.gradle index 32c267a4ed..1a8a1b4a86 100644 --- a/dev/integration_tests/abstract_method_smoke_test/android/build.gradle +++ b/dev/integration_tests/abstract_method_smoke_test/android/build.gradle @@ -6,7 +6,13 @@ buildscript { ext.kotlin_version = '1.3.50' repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -18,7 +24,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/android_custom_host_app/build.gradle b/dev/integration_tests/android_custom_host_app/build.gradle index 40d23f362c..4615d7e50c 100644 --- a/dev/integration_tests/android_custom_host_app/build.gradle +++ b/dev/integration_tests/android_custom_host_app/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { classpath 'com.android.tools.build:gradle:4.1.0' @@ -15,7 +21,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/android_embedding_v2_smoke_test/android/build.gradle b/dev/integration_tests/android_embedding_v2_smoke_test/android/build.gradle index 32c267a4ed..1a8a1b4a86 100644 --- a/dev/integration_tests/android_embedding_v2_smoke_test/android/build.gradle +++ b/dev/integration_tests/android_embedding_v2_smoke_test/android/build.gradle @@ -6,7 +6,13 @@ buildscript { ext.kotlin_version = '1.3.50' repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -18,7 +24,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/android_host_app_v2_embedding/build.gradle b/dev/integration_tests/android_host_app_v2_embedding/build.gradle index 40d23f362c..4615d7e50c 100644 --- a/dev/integration_tests/android_host_app_v2_embedding/build.gradle +++ b/dev/integration_tests/android_host_app_v2_embedding/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { classpath 'com.android.tools.build:gradle:4.1.0' @@ -15,7 +21,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/android_semantics_testing/android/build.gradle b/dev/integration_tests/android_semantics_testing/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/android_semantics_testing/android/build.gradle +++ b/dev/integration_tests/android_semantics_testing/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/android_views/android/build.gradle b/dev/integration_tests/android_views/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/android_views/android/build.gradle +++ b/dev/integration_tests/android_views/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/channels/android/build.gradle b/dev/integration_tests/channels/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/channels/android/build.gradle +++ b/dev/integration_tests/channels/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/external_ui/android/build.gradle b/dev/integration_tests/external_ui/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/external_ui/android/build.gradle +++ b/dev/integration_tests/external_ui/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/flavors/android/build.gradle b/dev/integration_tests/flavors/android/build.gradle index e876513d45..774aac9990 100644 --- a/dev/integration_tests/flavors/android/build.gradle +++ b/dev/integration_tests/flavors/android/build.gradle @@ -5,7 +5,14 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +23,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/flutter_gallery/android/build.gradle b/dev/integration_tests/flutter_gallery/android/build.gradle index ed3c43a698..55f2ea5c50 100644 --- a/dev/integration_tests/flutter_gallery/android/build.gradle +++ b/dev/integration_tests/flutter_gallery/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } maven { url 'https://google.bintray.com/exoplayer/' } diff --git a/dev/integration_tests/gradle_deprecated_settings/android/build.gradle b/dev/integration_tests/gradle_deprecated_settings/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/gradle_deprecated_settings/android/build.gradle +++ b/dev/integration_tests/gradle_deprecated_settings/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/hybrid_android_views/android/build.gradle b/dev/integration_tests/hybrid_android_views/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/hybrid_android_views/android/build.gradle +++ b/dev/integration_tests/hybrid_android_views/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle b/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle index 40d23f362c..4615d7e50c 100644 --- a/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle +++ b/dev/integration_tests/module_host_with_custom_build_v2_embedding/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { classpath 'com.android.tools.build:gradle:4.1.0' @@ -15,7 +21,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/non_nullable/android/build.gradle b/dev/integration_tests/non_nullable/android/build.gradle index 32c267a4ed..1a8a1b4a86 100644 --- a/dev/integration_tests/non_nullable/android/build.gradle +++ b/dev/integration_tests/non_nullable/android/build.gradle @@ -6,7 +6,13 @@ buildscript { ext.kotlin_version = '1.3.50' repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -18,7 +24,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/platform_interaction/android/build.gradle b/dev/integration_tests/platform_interaction/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/platform_interaction/android/build.gradle +++ b/dev/integration_tests/platform_interaction/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/release_smoke_test/android/build.gradle b/dev/integration_tests/release_smoke_test/android/build.gradle index e876513d45..22e1e4953a 100644 --- a/dev/integration_tests/release_smoke_test/android/build.gradle +++ b/dev/integration_tests/release_smoke_test/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/integration_tests/ui/android/build.gradle b/dev/integration_tests/ui/android/build.gradle index e876513d45..6f38d1f188 100644 --- a/dev/integration_tests/ui/android/build.gradle +++ b/dev/integration_tests/ui/android/build.gradle @@ -5,7 +5,13 @@ buildscript { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -16,7 +22,14 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } } diff --git a/dev/manual_tests/android/build.gradle b/dev/manual_tests/android/build.gradle index 32c267a4ed..1a8a1b4a86 100644 --- a/dev/manual_tests/android/build.gradle +++ b/dev/manual_tests/android/build.gradle @@ -6,7 +6,13 @@ buildscript { ext.kotlin_version = '1.3.50' repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } dependencies { @@ -18,7 +24,13 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() + // TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338 + jcenter { + content { + includeModule("org.jetbrains.trove4j", "trove4j") + } + } } }