Skip to content

Commit 6ed21af

Browse files
committed
Add new AndroidX.credentials dependency notations
1 parent 7d441b4 commit 6ed21af

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

plugins/dependencies/src/main/kotlin/dependencies/AndroidX.kt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,23 @@ object AndroidX : IsNotADependency {
11341134
val remoteViews = module("core-remoteviews")
11351135
}
11361136

1137+
/**
1138+
* This library provides unified access to a user's credentials.
1139+
* This can include passwords, passkeys and federated credentials.
1140+
* This library should be used to provide seamless and secure sign-in experiences.
1141+
*/
1142+
val credentials = Credentials
1143+
1144+
object Credentials : DependencyNotationAndGroup(
1145+
group = "androidx.credentials",
1146+
name = "credentials"
1147+
) {
1148+
/**
1149+
* Needed for credentials support from play services, for devices running Android 13 and below.
1150+
*/
1151+
val playServicesAuth = module("credentials-play-services-auth")
1152+
}
1153+
11371154
/**
11381155
* Expose Cursor data to a ListView widget.
11391156
*

plugins/dependencies/src/test/resources/bundled-dependencies-validated.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ androidx.core:core-performance
9292
androidx.core:core-remoteviews
9393
androidx.core:core-role
9494
androidx.core:core-splashscreen
95+
androidx.credentials:credentials
96+
androidx.credentials:credentials-play-services-auth
9597
androidx.cursoradapter:cursoradapter
9698
androidx.customview:customview
9799
androidx.customview:customview-poolingcontainer

plugins/dependencies/src/test/resources/dependencies-mapping-validated.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ androidx.core..core-splashscreen=AndroidX.core.splashscreen
9393
androidx.core..core=AndroidX.core
9494
androidx.core.uwb..uwb-rxjava3=AndroidX.core.uwb.rxJava3
9595
androidx.core.uwb..uwb=AndroidX.core.uwb
96+
androidx.credentials..credentials-play-services-auth=AndroidX.credentials.playServicesAuth
97+
androidx.credentials..credentials=AndroidX.credentials
9698
androidx.cursoradapter..cursoradapter=AndroidX.cursorAdapter
9799
androidx.customview..customview-poolingcontainer=AndroidX.customView.poolingContainer
98100
androidx.customview..customview=AndroidX.customView

plugins/dependencies/src/test/resources/dependencies-versions-key-validated.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ androidx.core..core-splashscreen=version.androidx.core-splashscreen
9292
androidx.core..core=version.androidx.core
9393
androidx.core.uwb..uwb-rxjava3=version.androidx.core.uwb
9494
androidx.core.uwb..uwb=version.androidx.core.uwb
95+
androidx.credentials..credentials-play-services-auth=version.androidx.credentials
96+
androidx.credentials..credentials=version.androidx.credentials
9597
androidx.cursoradapter..cursoradapter=version.androidx.cursoradapter
9698
androidx.customview..customview-poolingcontainer=version.androidx.customview-poolingcontainer
9799
androidx.customview..customview=version.androidx.customview

0 commit comments

Comments
 (0)