This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get storage permissions & remove old packages (#77)
* 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>
- Loading branch information
Showing
56 changed files
with
437 additions
and
3,321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
plugins { | ||
kotlin("jvm") | ||
id("com.vanniktech.maven.publish") | ||
} | ||
|
||
dependencies { | ||
constraints { | ||
api(project(":permissions")) | ||
api(project(":photopicker")) | ||
api(project(":storage")) | ||
api("com.squareup.okio:okio:3.0.0") | ||
} | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
POM_ARTIFACT_ID=modernstorage-bom | ||
POM_NAME=ModernStorage Bill of Material | ||
POM_PACKAGING=jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.