aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-08-23 15:21:22 +0530
committerGitHub <noreply@github.com>2022-08-23 09:51:22 +0000
commit8113bb18e7a76980b8dd14063cfd8bf9159c9c72 (patch)
tree55768559f14af6069298917e4c85b837166601e0 /settings.gradle.kts
parentf1115850bfed0651ba89ec105f48b4b50833ef86 (diff)
Avoid method references in `settings.gradle.kts` (#2073)
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts6
1 files 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")