POI: SQLite Android Bindings, fix #562

This commit is contained in:
Emux 2018-08-13 12:53:10 +03:00
parent 5605fff111
commit 02b42539f3
No known key found for this signature in database
GPG Key ID: 64ED9980896038C3
3 changed files with 20 additions and 5 deletions

View File

@ -30,8 +30,8 @@ allprojects {
static def androidCompileSdk() { return 28 }
// Minimum API Level by Support Library
static def androidMinSdk() { return 14 }
// 14 for Support Library, 16 for sqlite-android
static def androidMinSdk() { return 16 }
static def androidTargetSdk() { return 22 }

View File

@ -1,5 +1,12 @@
apply plugin: 'com.android.application'
/*
configurations.all {
// Check latest snapshot on every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
*/
dependencies {
implementation project(':vtm-android')
implementation project(':vtm-http')
@ -15,9 +22,10 @@ dependencies {
implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
implementation 'org.mapsforge:mapsforge-poi-android:master-SNAPSHOT'
implementation 'org.mapsforge:spatialite-android:master-SNAPSHOT:natives-armeabi'
implementation 'org.mapsforge:spatialite-android:master-SNAPSHOT:natives-armeabi-v7a'
implementation 'org.mapsforge:spatialite-android:master-SNAPSHOT:natives-x86'
implementation 'org.mapsforge:sqlite-android:master-SNAPSHOT:natives-armeabi-v7a'
implementation 'org.mapsforge:sqlite-android:master-SNAPSHOT:natives-arm64-v8a'
implementation 'org.mapsforge:sqlite-android:master-SNAPSHOT:natives-x86'
implementation 'org.mapsforge:sqlite-android:master-SNAPSHOT:natives-x86_64'
}
android {

View File

@ -1,5 +1,12 @@
apply plugin: 'application'
/*
configurations.all {
// Check latest snapshot on every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
*/
dependencies {
implementation project(':vtm-desktop')
file("${rootDir}/vtm-desktop/natives").eachDir() { dir ->