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

Removed open function from the repository. #90

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion storage-api-drive-gms/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
}

dependencies {
api("com.openmobilehub.android:storage-api:1.0.2-rc")
api("com.openmobilehub.android:storage-api:1.0.3-rc")

// GMS
implementation(Libs.googlePlayServicesAuth)
Expand Down
2 changes: 1 addition & 1 deletion storage-api-drive-gms/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
artifactId=storage-api-drive-gms
version=1.0.4-rc
version=1.0.5-rc
description=The GMS implementation of the OMH Storage API
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,4 @@ internal class GmsFileRepositoryImpl(

override fun updateFile(localFileToUpload: File, fileId: String) =
dataSource.updateFile(localFileToUpload, fileId)

override fun open() = Unit
}
2 changes: 1 addition & 1 deletion storage-api-drive-nongms/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {
}

dependencies {
api("com.openmobilehub.android:storage-api:1.0.2-rc")
api("com.openmobilehub.android:storage-api:1.0.3-rc")

// Retrofit setup
implementation(Libs.retrofit)
Expand Down
2 changes: 1 addition & 1 deletion storage-api-drive-nongms/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
artifactId=storage-api-drive-nongms
version=1.0.3-rc
version=1.0.4-rc
googleStorageUrl="https://www.googleapis.com/"
description=The non GMS implementation of the OMH Storage API
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,4 @@ internal class NonGmsFileRepositoryImpl(

override fun updateFile(localFileToUpload: File, fileId: String): OmhFile? =
dataSource.updateFile(localFileToUpload, fileId)

override fun open() = Unit
}
2 changes: 1 addition & 1 deletion storage-api/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
artifactId=storage-api
version=1.0.2-rc
version=1.0.3-rc
description=The base API for the OMH storage libraries.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@ interface OmhFileRepository {
fun downloadFile(fileId: String, mimeType: String?): ByteArrayOutputStream

fun updateFile(localFileToUpload: File, fileId: String): OmhFile?

fun open()
}
8 changes: 4 additions & 4 deletions storage-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ omhConfig {
bundle("singleBuild") {
storage() {
gmsService {
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.4-rc"
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.5-rc"
}
nonGmsService {
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.3-rc"
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.4-rc"
}
}
auth {
Expand All @@ -29,7 +29,7 @@ omhConfig {
bundle("gms") {
storage {
gmsService {
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.4-rc"
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.5-rc"
}
}
auth {
Expand All @@ -41,7 +41,7 @@ omhConfig {
bundle("nongms") {
storage {
nonGmsService {
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.3-rc"
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.4-rc"
}
}
auth {
Expand Down