Skip to content

Instantly share code, notes, and snippets.

@tdcolvin
Last active May 2, 2025 22:17
Show Gist options
  • Select an option

  • Save tdcolvin/e943f2aecf99109d1a14a3e7225bc64b to your computer and use it in GitHub Desktop.

Select an option

Save tdcolvin/e943f2aecf99109d1a14a3e7225bc64b to your computer and use it in GitHub Desktop.
// Core Jetpack Credential Manager library
implementation(libs.androidx.credentials)
// Needed for credentials support from play services, for devices running Android 13 and below.
implementation(libs.androidx.credentials.play.services.auth)
// We're going to need to do some HTTP work...
implementation(libs.okhttp)
[versions]
...
credentials = "1.5.0"
okhttp = "4.12.0"
[libraries]
...
androidx-credentials = { module = "androidx.credentials:credentials", version.ref = "credentials" }
androidx-credentials-play-services-auth = { module = "androidx.credentials:credentials-play-services-auth", version.ref = "credentials" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment