gradle
8.4

# google

abstract fun google(): MavenArtifactRepository(source)

Adds a repository which looks in Google's Maven repository for dependencies.

The URL used to access this repository is "https://dl.google.com/dl/android/maven2/".

Examples:

    repositories {
        google()
    }

Content copied to clipboard

#### Return

the added resolver

abstract fun google(action: Action<out Any>): MavenArtifactRepository(source)

Adds a repository which looks in Google's Maven repository for dependencies.

The URL used to access this repository is "https://dl.google.com/dl/android/maven2/".

Examples:

    repositories {
        google()
    }

Content copied to clipboard

#### Return

the added resolver

#### Parameters

action

a configuration action