File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
src/main/java/com/tos/drivebackup Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -55,5 +55,5 @@ dependencies {
55
55
implementation " androidx.multidex:multidex:2.0.1"
56
56
57
57
implementation project(' :libDriveBackup' )
58
- // implementation 'com.github.fcat97:driveBackupApi:1.0.6 '
58
+ // implementation 'com.github.fcat97:driveBackupApi:1.0.7 '
59
59
}
Original file line number Diff line number Diff line change @@ -9,14 +9,12 @@ import androidx.activity.ComponentActivity
9
9
import androidx.activity.result.contract.ActivityResultContracts
10
10
import androidx.appcompat.app.AppCompatDelegate
11
11
import androidx.lifecycle.MutableLiveData
12
- import androidx.multidex.BuildConfig
13
12
import com.google.android.material.color.DynamicColors
14
13
import com.google.android.material.textfield.TextInputEditText
15
14
import com.tos.drivebackup.drive_backup.DriveBackupUtils
16
15
import media.uqab.libdrivebackup.GoogleDriveBackupManager
17
16
import java.io.File
18
17
import java.io.FileReader
19
- import java.util.concurrent.Executors
20
18
21
19
class MainActivity : ComponentActivity () {
22
20
companion object {
@@ -113,6 +111,7 @@ class MainActivity : ComponentActivity() {
113
111
114
112
private fun fetchFiles () {
115
113
googleDriveBackupManager.getFiles {
114
+ Log .d(TAG , " fetchFiles: ${it.joinToString(separator = " \n " )} " )
116
115
printToTerminal(" [backups]: \n " + it.joinToString(separator = " \n\n " ))
117
116
}
118
117
}
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ buildscript {
7
7
plugins {
8
8
id ' com.android.application' version ' 7.3.1' apply false
9
9
id ' com.android.library' version ' 7.3.1' apply false
10
- id ' org.jetbrains.kotlin.android' version ' 1.6 .10' apply false
10
+ id ' org.jetbrains.kotlin.android' version ' 1.8 .10' apply false
11
11
}
Original file line number Diff line number Diff line change @@ -35,12 +35,18 @@ dependencies {
35
35
implementation ' androidx.appcompat:appcompat:1.6.1'
36
36
implementation ' androidx.documentfile:documentfile:1.0.1'
37
37
38
- implementation ' com.google.api-client:google-api-client:2.2.0'
39
- implementation ' com.google.apis:google-api-services-drive:v3-rev20220815-2.0.0'
40
- implementation ' com.google.auth:google-auth-library-oauth2-http:1.16.0'
38
+ implementation(' com.google.api-client:google-api-client:2.2.0' )
39
+ implementation(' com.google.apis:google-api-services-drive:v3-rev20220815-2.0.0' )
40
+ implementation(' com.google.auth:google-auth-library-oauth2-http:1.16.0' )
41
+ implementation(' com.google.api-client:google-api-client-android:2.2.0' )
42
+ implementation(' com.google.android.gms:play-services-auth:20.5.0' )
41
43
42
- implementation ' com.google.api-client:google-api-client-android:2.2.0'
43
- implementation ' com.google.android.gms:play-services-auth:20.5.0'
44
+ // https://stackoverflow.com/a/71085378/8229399
45
+ implementation(" com.google.guava:guava" ) {
46
+ version {
47
+ strictly ' 31.1-android'
48
+ }
49
+ }
44
50
}
45
51
46
52
@@ -50,7 +56,7 @@ afterEvaluate {
50
56
publications {
51
57
maven(MavenPublication ) {
52
58
group = ' media.uqab.driveBackupApi'
53
- version = ' 1.0.6 '
59
+ version = ' 1.0.7 '
54
60
artifactId = " driveBackupApi"
55
61
from components. release
56
62
You can’t perform that action at this time.
0 commit comments