From 8113bb18e7a76980b8dd14063cfd8bf9159c9c72 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 23 Aug 2022 15:21:22 +0530 Subject: [PATCH] Avoid method references in `settings.gradle.kts` (#2073) --- settings.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 46186cc4..2c2ad35e 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -11,7 +11,7 @@ pluginManagement { repositories { includeBuild("build-logic") exclusiveContent { - forRepository(::google) + forRepository { google() } filter { includeGroup("androidx.databinding") includeGroup("com.android") @@ -36,7 +36,7 @@ pluginManagement { } } exclusiveContent { - forRepository(::gradlePluginPortal) + forRepository { gradlePluginPortal() } filter { includeModule("com.github.ben-manes", "gradle-versions-plugin") includeModule("com.gradle", "gradle-enterprise-gradle-plugin") @@ -65,7 +65,7 @@ dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { exclusiveContent { - forRepository(::google) + forRepository { google() } filter { includeGroup("com.android") includeGroup("com.android.tools.analytics-library")