Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated PR based on #142 #145

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
324c30c
Upgraded to Kotlin 2.0 and added full support coroutines on file mani…
anggrayudi Jun 9, 2024
0eaee27
Added generic SingleFileConflictCallback
anggrayudi Jun 9, 2024
0023956
Resolved todos
anggrayudi Jun 17, 2024
521ce0e
fixed compile error & remove java support
anggrayudi Jun 17, 2024
80ce150
updated dependencies
anggrayudi Jun 17, 2024
3b249e3
removed deprecated code
anggrayudi Jun 17, 2024
a9258a3
renamed callback parameter
anggrayudi Jun 17, 2024
a1d75c9
fixed wrong error codes
anggrayudi Jun 17, 2024
f6c170c
close Flow
anggrayudi Jun 17, 2024
0a2c5ab
rename resumeWith() to sendAll()
anggrayudi Jun 18, 2024
6471ad0
fixed issue when copy/move multiple files
anggrayudi Jun 18, 2024
e1ef249
increase library version to 2.0.0
anggrayudi Jun 18, 2024
30ba788
updated README.md
anggrayudi Jun 18, 2024
701a224
cancelled correct ioScope
anggrayudi Jun 18, 2024
5dc6cf5
renamed FolderResult to SingleFolderResult
anggrayudi Jun 18, 2024
80bae18
updated readme.md
anggrayudi Jun 18, 2024
958ed72
converted DocumentFile.search() extension function to Kotlin Flow
anggrayudi Jun 19, 2024
0b96eee
updated README.md
anggrayudi Jun 19, 2024
279e94b
renamed MultipleFileConflictCallback to MultipleFilesConflictCallback
anggrayudi Jun 21, 2024
883c8de
added missing throw
anggrayudi Jun 29, 2024
a3a6c0d
added removeObsoleteUriPermissions()
anggrayudi Jul 1, 2024
8cf6c4a
Merge branch 'master' of https://github.com/anggrayudi/SimpleStorage …
w2sv Jul 7, 2024
65559d4
Use import in build.gradle
w2sv Jul 7, 2024
8f94d2f
Update dependencies | Un-api storage dependencies | Remove redundant …
w2sv Jul 7, 2024
3041fdd
Make FileWrapper implementations value classes
w2sv Jul 7, 2024
fca2f30
Make compatible abstract classes interfaces and inline more compatibl…
w2sv Jul 7, 2024
890c261
Integrate SingleFileResult.Completed subclasses
w2sv Jul 7, 2024
d2c5d89
Small code refinement
w2sv Jul 7, 2024
b7d8971
Make PermissionReport data class & PermissionResult value class
w2sv Jul 7, 2024
f11a021
Integrate MediaDirectory interface
w2sv Jul 7, 2024
ad33cea
Reformat code
w2sv Jul 8, 2024
be68d00
Remove storage ExampleUnitTest
w2sv Jul 8, 2024
2d8add5
kotlin & java source sets
w2sv Jul 8, 2024
017bf00
Remove unused SingleFileResult.CountingFiles & SingleFileResult.Starting
w2sv Jul 8, 2024
acaefac
Add InProgress.progress FloatRange annotations & remove unused Single…
w2sv Jul 8, 2024
7c8ca27
Fix/polish sample module
w2sv Jul 8, 2024
4969adf
Inline handleSecurityException.onWriteAccessDenied
w2sv Jul 8, 2024
89e6cca
Integrate DecompressedZipFile as ZipDecompressionResult.Completed.zip…
w2sv Jul 8, 2024
41b2a36
Revert agp to 8.4.1
w2sv Jul 8, 2024
51993e1
Made onWriteAccessDenied a MediaFile constructor parameterr
w2sv Jul 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'versions.gradle'
Expand All @@ -9,16 +11,16 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:8.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.7.20'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.28.0'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.9.20'
}
}

allprojects {
addRepos(repositories)

//Support @JvmDefault
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs = ['-Xjvm-default=all', '-opt-in=kotlin.RequiresOptIn']
jvmTarget = '1.8'
Expand Down Expand Up @@ -80,5 +82,5 @@ subprojects {
}

tasks.register('clean', Delete) {
delete rootProject.buildDir
delete rootProject.layout.buildDirectory
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Tue Dec 01 18:57:30 WIB 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
Loading