Skip to content

Commit 45b3fe3

Browse files
committed
update dependencies
1 parent d978461 commit 45b3fe3

File tree

6 files changed

+16
-35
lines changed

6 files changed

+16
-35
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Android-Room-Database-Backup Changelog
22

3-
## [v1.0.0-beta14] - 2024-01-06
3+
## [v1.0.0-beta14] - 2024-01-16
44

55
###
66
- Migrated from Gradle to Kotlin DSL
@@ -89,4 +89,4 @@
8989
onClickListener
9090

9191
- `.useExternalStorage(false)` is replaced with `.backupLocation(backupLocation: Int)`.
92-
See [README.md](readme.md)
92+
See [README.md](README.md)

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Features
2121
---------
2222
* Create simple backups of your room database
2323
* Encrypt the backup file with AES encryption
24-
* Save the backup to any type of storage
24+
* Save the backup to any type of storage (some types are in beta)
2525
* Material design
2626
* Written in Kotlin
2727

@@ -51,7 +51,8 @@ Add the dependency for `Android-Room-Database-Backup ` to your app-level `build.
5151
implementation 'de.raphaelebner:roomdatabasebackup:1.0.0-beta14'
5252
```
5353

54-
**If this version makes any technical problems please feel free to contact me. I made some changes in Gradle/Kotlin DSL and not sure if everything is working as excepted**
54+
**If the version makes any technical problems please feel free to contact me. I made some changes in
55+
Gradle/Kotlin DSL and not sure if everything is working as excepted**
5556

5657
Usage
5758
-----------
@@ -69,6 +70,7 @@ Usage
6970
**Attention**
7071
Must be declared outside of an onClickListener before lifecycle state changes to started
7172

73+
7274
```kotlin
7375
RoomBackup(this)
7476
```
@@ -143,11 +145,11 @@ The following options are optional and the default options
143145
* Private, storage not accessible
144146
* This files will be deleted, if you uninstall your app
145147
* ```RoomBackup.BACKUP_FILE_LOCATION_INTERNAL```
146-
* Custom Dialog
148+
* Custom Dialog (beta)
147149
* You can choose to save or restore where ever you want. A CreateDocument() or OpenDocument() Activity will be launched where you can choose the location
148150
* If your backup is encrypted I reccomend you using a custom encrption password else you can't restore your backup
149151
* ```RoomBackup.BACKUP_FILE_LOCATION_CUSTOM_DIALOG```
150-
* Custom File
152+
* Custom File (beta)
151153
* You can choose to save or restore to/from a custom File.
152154
* If your backup is encrypted I reccomend you using a custom encrption password else you can't restore your backup
153155
* Please use ```backupLocationCustomFile(File)``` to set a custom File

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ android {
4747

4848
dependencies {
4949
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
50-
implementation("androidx.core:core-ktx:1.12.0")
50+
implementation("androidx.core:core-ktx:1.13.0")
5151
implementation("androidx.appcompat:appcompat:1.6.1")
5252
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
5353
implementation(project(":core"))
@@ -69,7 +69,7 @@ dependencies {
6969
implementation("androidx.room:room-rxjava2:$roomVersion")
7070

7171
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
72-
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
72+
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
7373

7474
// optional - Guava support for Room, including Optional and ListenableFuture
7575
implementation("androidx.room:room-guava:$roomVersion")

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
}
88
dependencies {
99
val kotlinVersion = rootProject.extra.get("kotlin_version")
10-
classpath("com.android.tools.build:gradle:8.2.1")
10+
classpath("com.android.tools.build:gradle:8.3.2")
1111
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
1212

1313
// NOTE: Do not place your application dependencies here; they belong
@@ -16,7 +16,7 @@ buildscript {
1616
}
1717

1818
plugins {
19-
id("io.github.gradle-nexus.publish-plugin") version "2.0.0-rc-1"
19+
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
2020
id("org.jetbrains.dokka") version "1.9.10"
2121
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
2222
id("com.google.devtools.ksp") version "1.9.10-1.0.13" apply false
@@ -37,5 +37,5 @@ allprojects {
3737
}
3838

3939
tasks.register("clean", Delete::class) {
40-
delete(rootProject.buildDir)
40+
delete(rootProject.layout.buildDirectory)
4141
}

core/build.gradle.kts

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,6 @@ android {
2323
consumerProguardFiles("consumer-rules.pro")
2424
}
2525

26-
27-
// buildFeatures {
28-
// buildConfig = true
29-
// }
30-
31-
// buildTypes {
32-
// val versionName = properties["VERSION_NAME"]
33-
// val versionCode = properties["VERSION_CODE"]
34-
// getByName("debug"){
35-
// buildConfigField("long", "VERSION_CODE", "$versionCode")
36-
// buildConfigField("String","VERSION_NAME","\"$versionName\"")
37-
//
38-
// }
39-
// getByName("release") {
40-
// isMinifyEnabled = false
41-
// proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
42-
// buildConfigField("long", "VERSION_CODE", "$versionCode")
43-
// buildConfigField("String","VERSION_NAME","\"$versionName\"")
44-
// }
45-
// }
46-
4726
buildFeatures {
4827
viewBinding = true
4928
}
@@ -61,7 +40,7 @@ apply {
6140

6241
dependencies {
6342
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
64-
implementation("androidx.core:core-ktx:1.12.0")
43+
implementation("androidx.core:core-ktx:1.13.0")
6544
implementation("androidx.appcompat:appcompat:1.6.1")
6645
testImplementation("junit:junit:4.13.2")
6746
androidTestImplementation("androidx.test.ext:junit:1.1.5")
@@ -97,6 +76,6 @@ dependencies {
9776
//Apache commons io
9877
//https://mvnrepository.com/artifact/commons-io/commons-io
9978
//noinspection GradleDependency
100-
implementation("commons-io:commons-io:2.15.1")
79+
implementation("commons-io:commons-io:2.16.1")
10180

10281
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip

0 commit comments

Comments
 (0)