SQLite Android Bindings

Check-in [3a63f88d36]
Login

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

Overview
Comment:Upgrade this branch to use the build.gradle from the api-level-9 branch. To support building both the libraries and java classes in a single step (or from within Android Studio).
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3a63f88d3607cb904b58cab7d624d43923770489
User & Date: dan 2017-04-27 17:50:05.382
Context
2017-04-27
18:00
Upgrade this branch to use the enhanced test program from the api-level-9 branch. (check-in: 7275688aed user: dan tags: trunk)
17:50
Upgrade this branch to use the build.gradle from the api-level-9 branch. To support building both the libraries and java classes in a single step (or from within Android Studio). (check-in: 3a63f88d36 user: dan tags: trunk)
17:28
Update gradle plugin to 2.3.1 and buildToolsVersion to 25.0.0. (check-in: 493c438042 user: dan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to sqlite3/build.gradle.
1
2
3
4
5


6
7
8
9
10
11
12






13
14
15
16
17








18
19



20
21
22


23
24
25
26
27
28
29
30
31
32
apply plugin: 'com.android.library'

android {
    compileSdkVersion 23
    buildToolsVersion '25.0.0'



    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }






    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }








    }




    sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call

    sourceSets.main {


        jniLibs.srcDir 'src/main/libs'
    }

}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.4.0'
}



|
|
>
>



|



>
>
>
>
>
>





>
>
>
>
>
>
>
>
|
|
>
>
>
|

<
>
>
|
|
|



|

<

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
48
49
50

51
apply plugin: 'com.android.library'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"

    publishNonDefault true

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
    }

    configurations {
        debug
        release
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            minifyEnabled false
            debuggable true
            jniDebuggable true
            externalNativeBuild {
                ndkBuild {
                    arguments "NDK_DEBUG:=1"
                    abiFilters "armeabi-v7a", "armeabi", "x86"
                }
            }
        }
    }

    //sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call


    externalNativeBuild {
        ndkBuild {
            path 'src/main/jni/Android.mk'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'

}