OLD | NEW |
1 apply plugin: 'com.android.library' | 1 apply plugin: 'com.android.library' |
2 | 2 |
3 android { | 3 android { |
4 compileSdkVersion 16 | 4 compileSdkVersion 16 |
5 buildToolsVersion "24.0.1" | 5 buildToolsVersion "24.0.1" |
6 | 6 |
7 defaultConfig { | 7 defaultConfig { |
8 minSdkVersion 9 | 8 minSdkVersion 11 |
9 targetSdkVersion 16 | 9 targetSdkVersion 16 |
10 versionCode 1 | 10 versionCode 1 |
11 versionName "1.0" | 11 versionName "1.0" |
12 | 12 |
13 ndk { | 13 ndk { |
14 abiFilters 'armeabi-v7a', 'x86' | 14 abiFilters 'armeabi-v7a', 'x86' |
15 } | 15 } |
16 } | 16 } |
17 | 17 |
18 externalNativeBuild { | 18 externalNativeBuild { |
19 ndkBuild { | 19 ndkBuild { |
20 path 'jni/Android.mk' | 20 path 'jni/Android.mk' |
21 } | 21 } |
22 } | 22 } |
23 | 23 |
24 sourceSets { | 24 sourceSets { |
25 main { | 25 main { |
26 manifest.srcFile 'AndroidManifest.xml' | 26 manifest.srcFile 'AndroidManifest.xml' |
27 java.srcDirs = ['src'] | 27 java.srcDirs = ['src'] |
28 res.srcDirs = ['res'] | 28 res.srcDirs = ['res'] |
29 jni.srcDirs = ['jni'] | 29 jni.srcDirs = ['jni'] |
30 } | 30 } |
31 } | 31 } |
32 } | 32 } |
OLD | NEW |