Skip to content
This repository was archived by the owner on Oct 14, 2022. It is now read-only.

Commit a07535a

Browse files
committed
Fork of Requery Android with MAX_VARIABLE_NUMBER=32768
1 parent 4ece388 commit a07535a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

sqlite-android/build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ group = 'io.requery'
1111
version = '3.30.1'
1212
description = 'Android SQLite compatibility library'
1313

14+
ext {
15+
PUBLISH_ARTIFACT_ID = name + "-plangrid"
16+
}
17+
1418
android {
1519
compileSdkVersion 28
1620

@@ -63,7 +67,7 @@ ext {
6367
sqliteDistributionUrl = 'https://sqlite.org/2019/sqlite-amalgamation-3300100.zip'
6468
pomXml = {
6569
resolveStrategy = DELEGATE_FIRST
66-
name project.name
70+
name project.PUBLISH_ARTIFACT_ID
6771
description project.description
6872
url 'https://github.com/requery/sqlite-android'
6973
scm {
@@ -92,7 +96,7 @@ publishing {
9296
publications {
9397
maven(MavenPublication) {
9498
groupId project.group
95-
artifactId project.name
99+
artifactId project.PUBLISH_ARTIFACT_ID
96100
version project.version
97101
artifact "build/outputs/aar/${project.name}-release.aar"
98102
artifact sourcesJar
@@ -166,4 +170,4 @@ task installSqlite(dependsOn: downloadSqlite, type: Copy) {
166170
into 'src/main/jni/sqlite'
167171
}
168172

169-
preBuild.dependsOn installSqlite
173+
preBuild.dependsOn installSqlite

sqlite-android/src/main/jni/sqlite/Android.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ sqlite_flags := \
3030
-DSQLITE_DEFAULT_MEMSTATUS=0 \
3131
-DSQLITE_MAX_EXPR_DEPTH=0 \
3232
-DSQLITE_USE_ALLOCA \
33+
-DSQLITE_MAX_VARIABLE_NUMBER=32768 \
3334
-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE \
3435
-O3
3536

0 commit comments

Comments
 (0)