From 4fb4458c843d53d7bdf6047346724e45e612ea0a Mon Sep 17 00:00:00 2001 From: Ihor Kushnirenko Date: Tue, 29 Aug 2023 11:35:08 +0300 Subject: [PATCH] Update SQLite to v3.43.0 (#184) --- CHANGELOG.md | 3 +++ README.md | 6 +++--- build.gradle | 2 +- gradle.properties | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- sqlite-android/build.gradle | 12 ++++++------ 6 files changed, 15 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea80491..fb5c396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Change Log ========== +## 3.43.0 +- [SQLite 3.43.0](https://www.sqlite.org/releaselog/3_43_0.html) + ## 3.42.0 - [SQLite 3.42.0](https://www.sqlite.org/releaselog/3_42_0.html) - [SQLite 3.41.2](https://www.sqlite.org/releaselog/3_41_2.html) diff --git a/README.md b/README.md index 8a3ae18..b58dc94 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Why? - **Up-to-date** Even the latest version of Android is several versions behind the latest version of SQLite. -These versions do not have the bug fixes, performance improvements, or new features present in +These versions do not have bug fixes, performance improvements, or new features present in current versions of SQLite. This problem is worse the older the version of the OS the device has. Using this library, you can keep up to date with the latest versions of SQLite and provide a consistent version across OS versions and devices. @@ -51,7 +51,7 @@ Then add the sqlite-android artifact from this repository as a dependency: ```gradle dependencies { - implementation 'com.github.requery:sqlite-android:3.42.0' + implementation 'com.github.requery:sqlite-android:3.43.0' } ``` Then change usages of `android.database.sqlite.SQLiteDatabase` to @@ -115,7 +115,7 @@ Versioning ---------- The library is versioned after the version of SQLite it contains. For changes specific to just the -wrapper API a revision number is added e.g. 3.42.0-X, where X is the revision number. +wrapper API, a revision number is added e.g. 3.43.0-X, where X is the revision number. Acknowledgements ---------------- diff --git a/build.gradle b/build.gradle index 77d27aa..4f2786f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ plugins { - id "com.android.library" version "8.0.1" apply false + id "com.android.library" version "8.1.1" apply false id "de.undercouch.download" version "5.4.0" apply false } diff --git a/gradle.properties b/gradle.properties index 6fb2ffd..dfc47a9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,4 +23,4 @@ POM_DEVELOPER_ID=TODO POM_DEVELOPER_NAME=TODO POM_DEVELOPER_URL=TODO POM_INCEPTION_YEAR=TODO -VERSION_NAME=3.42.0-SNAPSHOT \ No newline at end of file +VERSION_NAME=3.43.0-SNAPSHOT \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 37aef8d..c30b486 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/sqlite-android/build.gradle b/sqlite-android/build.gradle index a962680..7f07ec1 100644 --- a/sqlite-android/build.gradle +++ b/sqlite-android/build.gradle @@ -3,14 +3,14 @@ import com.vanniktech.maven.publish.SonatypeHost plugins { id "de.undercouch.download" id "com.android.library" - id "com.vanniktech.maven.publish" version "0.25.2" + id "com.vanniktech.maven.publish" version "0.25.3" } android { - buildToolsVersion = "33.0.2" + buildToolsVersion = "34.0.0" ndkVersion "25.2.9519653" - compileSdk 33 + compileSdk 34 namespace "io.requery.android.sqlite" @@ -36,8 +36,8 @@ android { abortOnError false } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } externalNativeBuild { @@ -58,7 +58,7 @@ dependencies { } ext { - sqliteDistributionUrl = "https://www.sqlite.org/2023/sqlite-amalgamation-3420000.zip" + sqliteDistributionUrl = "https://www.sqlite.org/2023/sqlite-amalgamation-3430000.zip" } tasks.register("downloadSqlite", Download) {