1 apply plugin: 'com.android.application'
5 buildToolsVersion "21.1.2"
8 applicationId "cz.cvut.fel.dce.qrscanner"
17 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22 task nativeLibsToJar(type: Zip, description: 'create a jar archive of the native libs') {
23 destinationDir file("$buildDir/native-libs")
24 baseName 'native-libs'
26 from fileTree(dir: 'libs', include: '**/*.so')
30 tasks.withType(JavaCompile) {
31 compileTask -> compileTask.dependsOn(nativeLibsToJar)
35 compile fileTree(dir: 'libs', include: ['*.jar'])
36 compile 'com.android.support:appcompat-v7:21.0.3'
37 compile files('build/native-libs/native-libs.jar')