SQLite Android Bindings
Check-in [df18f25465]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Upgrade to gradle 3.0. Remove ApplicationTest class (not required?).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | experimental
Files: files | file ages | folders
SHA1: df18f2546551feb0185e27a4db9df440642bb8fd
User & Date: dan 2017-11-13 18:48:50
Context
2017-11-13
21:02
Add modified versions of some of the test files from the Android Compatibility Test Suite (https://android.googlesource.com/platform/cts/). check-in: 2574c498b9 user: dan tags: experimental
18:48
Upgrade to gradle 3.0. Remove ApplicationTest class (not required?). check-in: df18f25465 user: dan tags: experimental
2017-10-24
19:33
Update this project to version 3.21.0 check-in: 9fa38e007e user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to build.gradle.

     1      1   // Top-level build file where you can add configuration options common to all sub-projects/modules.
     2      2   
     3      3   buildscript {
     4      4       repositories {
     5      5           jcenter()
     6      6       }
     7      7       dependencies {
     8         -        classpath 'com.android.tools.build:gradle:2.3.3'
            8  +        classpath 'com.android.tools.build:gradle:3.0.0'
     9      9   
    10     10           // NOTE: Do not place your application dependencies here; they belong
    11     11           // in the individual module build.gradle files
    12     12       }
    13     13   }
    14     14   
    15     15   allprojects {

Changes to gradle/wrapper/gradle-wrapper.properties.

     1         -#Thu Apr 27 23:58:23 ICT 2017
            1  +#Sun Nov 12 03:46:22 ICT 2017
     2      2   distributionBase=GRADLE_USER_HOME
     3      3   distributionPath=wrapper/dists
     4      4   zipStoreBase=GRADLE_USER_HOME
     5      5   zipStorePath=wrapper/dists
     6         -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
            6  +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

Changes to sqlite3/build.gradle.

     1      1   apply plugin: 'com.android.library'
     2      2   
     3      3   android {
     4      4       compileSdkVersion 25
     5         -    buildToolsVersion "25.0.2"
     6         -
     7      5   
     8      6       defaultConfig {
     9      7           minSdkVersion 16
    10      8           targetSdkVersion 25
    11      9           versionCode 1
    12     10           versionName "1.0"
    13     11           testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Deleted sqlite3/src/androidTest/java/org/sqlite/database/ApplicationTest.java.

     1         -package org.sqlite.database;
     2         -
     3         -import android.app.Application;
     4         -import android.test.ApplicationTestCase;
     5         -
     6         -/**
     7         - * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
     8         - */
     9         -public class ApplicationTest extends ApplicationTestCase<Application> {
    10         -    public ApplicationTest() {
    11         -        super(Application.class);
    12         -    }
    13         -}

Changes to sqlite3/src/main/jni/sqlite/sqlite3.c.

   941    941   ** you should probably leave LFS enabled.  But some embedded platforms might
   942    942   ** lack LFS in which case the SQLITE_DISABLE_LFS macro might still be useful.
   943    943   **
   944    944   ** Similar is true for Mac OS X.  LFS is only supported on Mac OS X 9 and later.
   945    945   */
   946    946   #ifndef SQLITE_DISABLE_LFS
   947    947   # define _LARGE_FILE       1
          948  +#if 0
   948    949   # ifndef _FILE_OFFSET_BITS
   949    950   #   define _FILE_OFFSET_BITS 64
   950    951   # endif
          952  +#endif
   951    953   # define _LARGEFILE_SOURCE 1
   952    954   #endif
   953    955   
   954    956   /* The GCC_VERSION and MSVC_VERSION macros are used to
   955    957   ** conditionally include optimizations for each of these compilers.  A
   956    958   ** value of 0 means that compiler is not being used.  The
   957    959   ** SQLITE_DISABLE_INTRINSIC macro means do not use any compiler-specific

Changes to sqlite3test/build.gradle.

     1      1   apply plugin: 'com.android.application'
     2      2   
     3      3   android {
     4      4       compileSdkVersion 23
     5         -    buildToolsVersion '25.0.0'
     6      5   
     7      6       defaultConfig {
     8      7           applicationId "org.sqlite.customsqlitetest"
     9      8           minSdkVersion 16
    10      9           targetSdkVersion 23
    11     10           versionCode 1
    12     11           versionName "1.0"