google / modernstorage

ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions
https://google.github.io/modernstorage/
Apache License 2.0
1.24k stars 54 forks source link

Add Bill of Material #78

Closed ghostbear closed 2 years ago

ghostbear commented 2 years ago

This adds a Bill of Material to easier add dependencies without needing to defining version for each of them. Note it doesn't include the deprecated modules or the sample app. Out over the modules ModernStorage has it also includes Okio this way any project that want to use the tested version that ModernStorage use they don't need to define the version for that.

Usage in projects:

implementation("com.google.modernstorage:modernstorage-bom:{{ lib_version }}")
implementation("com.google.modernstorage:modernstorage-permissions")
implementation("com.google.modernstorage:modernstorage-photopicker")
implementation("com.google.modernstorage:modernstorage-storage")
implementation("com.squareup.okio:okio")
yrezgui commented 2 years ago

Oh nice idea! I'm writing some tests for modernstorage-permissions with a new method, I'll integrate your PR in it for alpha04. Thank you every much!