Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Add Bill of Material #78

Merged
merged 4 commits into from
Jan 19, 2022
Merged

Add Bill of Material #78

merged 4 commits into from
Jan 19, 2022

Conversation

ghostbear
Copy link
Contributor

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
Copy link
Collaborator

yrezgui commented Jan 17, 2022

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!

Exclude BOM from adding metalava as it doesn't have api/current.api
@yrezgui yrezgui changed the base branch from main to 1.0.0-alpha04 January 19, 2022 10:57
@yrezgui yrezgui merged commit e5fb58a into google:1.0.0-alpha04 Jan 19, 2022
yrezgui added a commit that referenced this pull request Jan 19, 2022
* Remove filesystem & mediastore modules (already deprecated)

* Add getReadFilesPermissions & getReadAndWriteFilesPermissions methods

Refactor storage permission checking logic to be more flexible for future usages

* Remove filesystem & mediastore modules (already deprecated)

* Add getReadFilesPermissions & getReadAndWriteFilesPermissions methods

Refactor storage permission checking logic to be more flexible for future usages

* Change permissions check to bitwise operations

* Deprecate canReadFiles & canReadAndWriteFiles in favor of hasAccess

Deprecate getReadFilesPermissions & getReadAndWriteFilesPermissions in favor of getPermissions
Simplify StoragePermissions.getPermissions unit tests

* Add better support for Java usage

* Add Bill of Material (#78)

* Fix module versioning in documentation (#76)

* Add Bill of Material

* Fix build

Exclude BOM from adding metalava as it doesn't have api/current.api

Co-authored-by: Yacine Rezgui <rezgui.y@gmail.com>

* Update API metadata

* Fix documentation code tab snippets

* Avoid wasting useless workflow runs

* Use new StoragePermissions.hasAccess method

* Update guide with new StoragePermissions.hasAccess method

* Upgrade version number

Co-authored-by: Andreas <andreas.everos@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants