Skip to content

Commit

Permalink
Removed open function from the repository. (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Tchistiakova committed Jul 20, 2023
1 parent 51c57a5 commit dbd7627
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 15 deletions.
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

0 comments on commit dbd7627

Please sign in to comment.