Avoid method references in settings.gradle.kts (#2073)

This commit is contained in:
Harsh Shandilya 2022-08-23 15:21:22 +05:30 committed by GitHub
parent f1115850bf
commit 8113bb18e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")