Skip to content

Commit 35f0e8c

Browse files
committed
upgrade dependency
1 parent b47b500 commit 35f0e8c

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ This project already add `consumerProguardFiles`, so feel free to use proguard.
6262
## How to install
6363

6464
Check the release tab, choose latest tag, download the aar attachment and setup your .gradle file
65-
65+
If you reference aar in `@aar` notion, be sure to turn on `transitive=true`,
66+
runtime errors/exceptions like `ClassNotFound` will be raised
6667
## License
6768

6869
```

lib/build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ext {
3333
kotlinVersion = "1.3.11"
3434
supportVersion = "28.0.0"
3535
okHttpVersion = "3.13.1"
36-
sqldelightVersion = "1.0.3"
36+
sqldelightVersion = "1.1.1"
3737
androidXVersion = "1.0.0"
3838
}
3939

@@ -42,12 +42,13 @@ dependencies {
4242
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlinVersion}"
4343
implementation "androidx.core:core-ktx:${androidXVersion}"
4444
implementation "com.squareup.okhttp3:okhttp:${okHttpVersion}"
45+
api "com.squareup.sqldelight:runtime:${sqldelightVersion}"
4546
implementation "com.squareup.sqldelight:android-driver:${sqldelightVersion}"
4647
}
4748

4849
buildscript {
4950
ext {
50-
sqldelightVersion = "1.0.3"
51+
sqldelightVersion = "1.1.1"
5152
}
5253
repositories {
5354
google()
@@ -59,5 +60,6 @@ buildscript {
5960
}
6061

6162
sqldelight {
62-
className = "UploadDatabase" // Defaults to "Database"
63+
UploadDatabase {
64+
}
6365
}

0 commit comments

Comments
 (0)