gradle
8.2

# google

abstract fun google(): MavenArtifactRepository

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

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