Peter Kotwicz | 2b85bd3d | 2020-10-01 22:29:49 | [diff] [blame] | 1 | Name: Androidx Repository |
| 2 | Short Name: androidx |
Max Ihlenfeldt | 6706852 | 2023-02-21 16:08:56 | [diff] [blame] | 3 | URL: https://androidx.dev |
Peter Kotwicz | 2b85bd3d | 2020-10-01 22:29:49 | [diff] [blame] | 4 | Version: 1 |
| 5 | License: Refer to additional_readme_paths.json |
| 6 | License Android Compatible: yes |
Peter Kotwicz | 2b85bd3d | 2020-10-01 22:29:49 | [diff] [blame] | 7 | Security Critical: yes |
Anne Redulla | d1afe81 | 2023-07-07 04:13:38 | [diff] [blame] | 8 | Shipped: no |
Peter Kotwicz | 2b85bd3d | 2020-10-01 22:29:49 | [diff] [blame] | 9 | |
| 10 | Description: |
| 11 | A gradle-specified repository for Androidx dependencies. |
Andrew Grieve | 56784650 | 2021-02-24 03:09:12 | [diff] [blame] | 12 | |
Andrew Grieve | ef1c3c32 | 2021-05-18 12:41:01 | [diff] [blame] | 13 | Where the snapshots come from: |
| 14 | * Snapshots originate from https://androidx.dev |
| 15 | * They are made into CIPD packages by this bot: https://ci.chromium.org/p/chromium/builders/ci/android-androidx-packager |
| 16 | * They are then rolled in by this autoroller: https://autoroll.skia.org/r/androidx-chromium |
| 17 | * Googlers can trigger manual runs: https://luci-scheduler.appspot.com/jobs/chromium/android-androidx-packager |
| 18 | |
| 19 | Mapping snapshot version to git revision: |
| 20 | * The current version of the snapshot is written to VERSION.txt (sibling of this |
| 21 | README, but does not appear in codesearch). |
| 22 | * Open the "BUILD_INFO" JSON file from https://androidx.dev/snapshots/builds for |
| 23 | the given version, and search for the "platform/frameworks/support" entry. |
| 24 | * That entry will have a "revision" field, which is the git revision the |
| 25 | snapshot was created from. |
| 26 | |
| 27 | Viewing Source Code: |
| 28 | Git viewer: https://android.googlesource.com/platform/frameworks/support/ |
| 29 | Code Search: https://cs.android.com/androidx/platform/frameworks/support |
Andrew Grieve | 1266c06 | 2021-06-23 19:24:24 | [diff] [blame] | 30 | |
| 31 | How to add a new androidx library: |
| 32 | * Add the gradle entry for the desired target to build.gradle.template |
| 33 | * Do a trial run (downloads files locally): |
| 34 | mv libs libs.bak && ./fetch_all_androidx.py |
| 35 | * Upload & submit your change to build.gradle.template |
| 36 | * Wait for android-androidx-packager to upload a new CIPD instance (linked above) |
| 37 | * Wait for androidx-chromium to roll the new package (linked above) |
| 38 | |
Andrew Grieve | 5140fef | 2023-02-10 20:27:18 | [diff] [blame] | 39 | Local Modifications: |
Andrew Grieve | 724c3165 | 2025-02-05 17:15:36 | [diff] [blame] | 40 | * Added the BuildCompat.kt source to local_modification/ so that we can roll |
Andrew Grieve | 5140fef | 2023-02-10 20:27:18 | [diff] [blame] | 41 | it manually and out-of-band with the rest of androidx. Use the |
| 42 | update_source.sh script to pull in changes from androidx-main. |
| 43 | https://crbug.com/1414452 |
Andrew Grieve | c0809760b | 2023-09-25 19:44:15 | [diff] [blame] | 44 | * Added a no-op version of androidx.window |
Samuel Huang | 4a63fe3 | 2023-03-07 22:09:02 | [diff] [blame] | 45 | * Pin androidx_recycleview_recycleview to avoid https://crbug.com/1421341. |
Andrew Grieve | 724c3165 | 2025-02-05 17:15:36 | [diff] [blame] | 46 | * Added a WIP copy of TypedArrayUtils.java and XmlVectorParser.android.kt to expedite shared tabs feature |
| 47 | * From aosp/3470241 and aosp/3470242 |