This is an automated email from the ASF dual-hosted git repository.

mdrob pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 82a613b  LUCENE-10138: Use maven central to resolve third-party gradle 
plugins
82a613b is described below

commit 82a613bf4ea4601d8befe8dba5f9bda550125f80
Author: Alan Woodward <[email protected]>
AuthorDate: Thu Sep 30 09:53:38 2021 -0500

    LUCENE-10138: Use maven central to resolve third-party gradle plugins
    
    The gradle plugin portal uses jcenter to resolve third-party plugins, which
    can be flaky. This commit instructs gradle to look first in maven central,
    and only use the plugin portal for gradle's own plugins.
---
 settings.gradle | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/settings.gradle b/settings.gradle
index 58c8d00..1f68a4a 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -15,6 +15,13 @@
  * limitations under the License.
  */
 
+pluginManagement {
+    repositories {
+        mavenCentral()
+        gradlePluginPortal()
+    }
+}
+
 rootProject.name = "solr-root"
 
 includeBuild("dev-tools/solr-missing-doclet")

Reply via email to