From 83f26710a3250db2b83c2770bfec19eac072f13b Mon Sep 17 00:00:00 2001 From: Louis CAD Date: Wed, 27 Sep 2023 18:27:28 +0200 Subject: [PATCH] Add new AndroidX.bluetooth dependency notations --- .../src/main/kotlin/dependencies/AndroidX.kt | 20 ++++++++++++++++++- .../bundled-dependencies-validated.txt | 2 ++ .../dependencies-mapping-validated.txt | 2 ++ .../dependencies-versions-key-validated.txt | 2 ++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/plugins/dependencies/src/main/kotlin/dependencies/AndroidX.kt b/plugins/dependencies/src/main/kotlin/dependencies/AndroidX.kt index d41e563ad..0294c1a39 100644 --- a/plugins/dependencies/src/main/kotlin/dependencies/AndroidX.kt +++ b/plugins/dependencies/src/main/kotlin/dependencies/AndroidX.kt @@ -16,7 +16,7 @@ import org.gradle.kotlin.dsl.IsNotADependency * - Back in 2019 November the 18th, AndroidX was made of **187 artifacts**. */ object AndroidX : IsNotADependency { - // Last AndroidX Update sync: Aug 23, 2023. + // Last AndroidX Update sync: Sep 20, 2023. // See https://androidx.tech/blog/updates for easier updates tracking // LibraryGroups.kt: https://github.com/androidx/androidx/blob/androidx-main/buildSrc/public/src/main/kotlin/androidx/build/LibraryGroups.kt // LibraryVersions.kt: https://github.com/androidx/androidx/blob/androidx-main/buildSrc/public/src/main/kotlin/androidx/build/LibraryVersions.kt @@ -314,6 +314,24 @@ object AndroidX : IsNotADependency { val ktx = module("biometric-ktx") } + /** + * AndroidX Bluetooth Library. + * + * [Release notes](https://developer.android.com/jetpack/androidx/releases/bluetooth) + * + * ### API reference: + * - [androidx.bluetooth](https://developer.android.com/reference/kotlin/androidx/bluetooth/package-summary) + */ + val bluetooth = Bluetooth + + object Bluetooth : DependencyNotationAndGroup( + group = "androidx.bluetooth", + name = "bluetooth" + ) { + /** Test utilities for AndroidX Bluetooth */ + val testing = module("bluetooth-testing") + } + /** * Android Support Custom Tabs. * diff --git a/plugins/dependencies/src/test/resources/bundled-dependencies-validated.txt b/plugins/dependencies/src/test/resources/bundled-dependencies-validated.txt index 40b8b4431..ee3d3f2e6 100644 --- a/plugins/dependencies/src/test/resources/bundled-dependencies-validated.txt +++ b/plugins/dependencies/src/test/resources/bundled-dependencies-validated.txt @@ -28,6 +28,8 @@ androidx.benchmark:benchmark-macro androidx.benchmark:benchmark-macro-junit4 androidx.biometric:biometric androidx.biometric:biometric-ktx +androidx.bluetooth:bluetooth +androidx.bluetooth:bluetooth-testing androidx.browser:browser androidx.camera:camera-camera2 androidx.camera:camera-core diff --git a/plugins/dependencies/src/test/resources/dependencies-mapping-validated.txt b/plugins/dependencies/src/test/resources/dependencies-mapping-validated.txt index fc886383e..3b355f588 100644 --- a/plugins/dependencies/src/test/resources/dependencies-mapping-validated.txt +++ b/plugins/dependencies/src/test/resources/dependencies-mapping-validated.txt @@ -29,6 +29,8 @@ androidx.benchmark..benchmark-macro-junit4=AndroidX.benchmark.macroJunit4 androidx.benchmark..benchmark-macro=AndroidX.benchmark.macro androidx.biometric..biometric-ktx=AndroidX.biometric.ktx androidx.biometric..biometric=AndroidX.biometric +androidx.bluetooth..bluetooth-testing=AndroidX.bluetooth.testing +androidx.bluetooth..bluetooth=AndroidX.bluetooth androidx.browser..browser=AndroidX.browser androidx.camera..camera-camera2=AndroidX.camera.camera2 androidx.camera..camera-core=AndroidX.camera.core diff --git a/plugins/dependencies/src/test/resources/dependencies-versions-key-validated.txt b/plugins/dependencies/src/test/resources/dependencies-versions-key-validated.txt index 6df67e29d..6d9993f4b 100644 --- a/plugins/dependencies/src/test/resources/dependencies-versions-key-validated.txt +++ b/plugins/dependencies/src/test/resources/dependencies-versions-key-validated.txt @@ -28,6 +28,8 @@ androidx.benchmark..benchmark-macro-junit4=version.androidx.benchmark androidx.benchmark..benchmark-macro=version.androidx.benchmark androidx.biometric..biometric-ktx=version.androidx.biometric-ktx androidx.biometric..biometric=version.androidx.biometric +androidx.bluetooth..bluetooth-testing=version.androidx.bluetooth +androidx.bluetooth..bluetooth=version.androidx.bluetooth androidx.browser..browser=version.androidx.browser androidx.camera..camera-camera2=version.androidx.camera androidx.camera..camera-core=version.androidx.camera