diff --git a/buildSrc/repos.gradle b/buildSrc/repos.gradle index 5f1f440ab9f39..6912a50de9e8b 100644 --- a/buildSrc/repos.gradle +++ b/buildSrc/repos.gradle @@ -59,8 +59,9 @@ def addMavenRepositories(RepositoryHandler handler) { } def isJBFork = true if (isJBFork) { - handler.mavenLocal() handler.mavenCentral() + // Keep mavenLocal() repository below mavenCentral to avoid issues with stdlib imports + handler.mavenLocal() handler.google() handler.gradlePluginPortal() handler.maven {