Skip to content

Commit 94faa96

Browse files
authored
Update dependencies and SQLite to version 3.39.0 (#160)
1 parent 6b8ae30 commit 94faa96

File tree

6 files changed

+42
-37
lines changed

6 files changed

+42
-37
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Change Log
22
==========
33

4+
## 3.39.0
5+
- [SQLite 3.39.0](https://www.sqlite.org/releaselog/3_39_0.html)
6+
-
47
## 3.38.5
58
- [SQLite 3.38.5](https://www.sqlite.org/releaselog/3_38_5.html)
69

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
This is an Android specific distribution of the latest versions of SQLite. It contains the latest
77
SQLite version and the Android specific database APIs derived from AOSP packaged as an AAR
8-
library distributed on jcenter.
8+
library distributed on jitpack.
99

1010
Why?
1111
----
@@ -49,7 +49,7 @@ Then add the sqlite-android artifact from this repository as a dependency:
4949

5050
```gradle
5151
dependencies {
52-
implementation 'com.github.requery:sqlite-android:3.38.5'
52+
implementation 'com.github.requery:sqlite-android:3.39.0'
5353
}
5454
```
5555
Then change usages of `android.database.sqlite.SQLiteDatabase` to
@@ -150,7 +150,7 @@ Changes
150150
License
151151
-------
152152

153-
Copyright (C) 2017-2021 requery.io
153+
Copyright (C) 2017-2022 requery.io
154154
Copyright (C) 2005-2012 The Android Open Source Project
155155

156156
Licensed under the Apache License, Version 2.0 (the "License");

build.gradle

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
buildscript {
2-
repositories {
3-
google()
4-
mavenCentral()
5-
}
6-
dependencies {
7-
classpath 'com.android.tools.build:gradle:4.0.2'
8-
classpath 'org.apache.httpcomponents:httpclient:4.5.13'
9-
}
10-
}
11-
12-
allprojects {
13-
repositories {
14-
google()
15-
mavenCentral()
16-
}
1+
plugins {
2+
id 'com.android.library' version '7.2.1' apply false
3+
id 'de.undercouch.download' version '5.1.0' apply false
174
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1+
pluginManagement {
2+
repositories {
3+
google()
4+
gradlePluginPortal()
5+
mavenCentral()
6+
}
7+
}
8+
9+
dependencyResolutionManagement {
10+
repositories {
11+
google()
12+
mavenCentral()
13+
}
14+
}
15+
116
rootProject.name = 'requery-sqlite'
17+
218
include ':sqlite-android'

sqlite-android/build.gradle

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
plugins {
2-
id 'de.undercouch.download' version '4.1.1'
2+
id 'de.undercouch.download'
3+
id 'com.android.library'
4+
id 'maven-publish'
35
}
46

5-
apply plugin: 'com.android.library'
6-
apply plugin: 'maven-publish'
7-
apply plugin: 'de.undercouch.download'
8-
97
group = 'io.requery'
10-
version = '3.38.5'
8+
version = '3.39.0'
119
description = 'Android SQLite compatibility library'
1210

1311
android {
14-
compileSdkVersion 30
15-
buildToolsVersion "30.0.3"
12+
compileSdkVersion 32
13+
buildToolsVersion "32.0.0"
1614
ndkVersion '24.0.8215888'
1715

1816
defaultConfig {
@@ -24,6 +22,7 @@ android {
2422
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
2523
}
2624
}
25+
2726
buildTypes {
2827
release {
2928
minifyEnabled false
@@ -34,8 +33,8 @@ android {
3433
abortOnError false
3534
}
3635
compileOptions {
37-
sourceCompatibility JavaVersion.VERSION_1_7
38-
targetCompatibility JavaVersion.VERSION_1_7
36+
sourceCompatibility JavaVersion.VERSION_1_8
37+
targetCompatibility JavaVersion.VERSION_1_8
3938
}
4039
externalNativeBuild {
4140
ndkBuild {
@@ -49,16 +48,16 @@ android {
4948
}
5049

5150
dependencies {
52-
api 'androidx.sqlite:sqlite:2.1.0'
53-
api 'androidx.core:core:1.5.0'
54-
androidTestImplementation 'androidx.test:core:1.3.0'
55-
androidTestImplementation 'androidx.test:runner:1.3.0'
56-
androidTestImplementation 'androidx.test:rules:1.3.0'
57-
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
51+
api 'androidx.sqlite:sqlite:2.2.0'
52+
api 'androidx.core:core:1.8.0'
53+
androidTestImplementation 'androidx.test:core:1.4.0'
54+
androidTestImplementation 'androidx.test:runner:1.4.0'
55+
androidTestImplementation 'androidx.test:rules:1.4.0'
56+
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
5857
}
5958

6059
ext {
61-
sqliteDistributionUrl = 'https://www.sqlite.org/2022/sqlite-amalgamation-3380500.zip'
60+
sqliteDistributionUrl = 'https://www.sqlite.org/2022/sqlite-amalgamation-3390000.zip'
6261
pomXml = {
6362
resolveStrategy = DELEGATE_FIRST
6463
name project.name

0 commit comments

Comments
 (0)