Issue with Getting Started Docs

While going through the Getting Started docs I found that

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
    maven {
        url "https://sdk.developer.deepar.ai/maven-android-repository/releases/"
    }
}

should be

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    maven {
        url "https://sdk.developer.deepar.ai/maven-android-repository/releases/"
    }
    }
}

but my issue is that

dependencies {
    implementation 'ai.deepar.ar:DeepAR:5.6.4'
}

causes Failed to resolve: ai.deepar.ar:DeepAR:5.6.4 when put inside module build.gradle.