build.gradle 1.77 KB
apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.0"
    defaultConfig {
        applicationId "com.sunvote.npc.myapplication"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.1.5.5"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    repositories {
        flatDir {
            dirs 'libs'
        }
    }

    defaultConfig {
        ndk {
            abiFilters "armeabi-v7a"
            abiFilters "x86"
            abiFilters "armeabi"
            abiFilters "arm64-v8a"
            abiFilters "x86_64"
        }
    }
    externalNativeBuild {
        cmake {
            path 'CMakeLists.txt'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:26.+'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    testCompile 'junit:junit:4.12'

    compile(name: 'ycanfilereadfunc-release', ext: 'aar')
    compile(name: 'ycanreaderfileshow-release', ext: 'aar')
    compile(name: 'ycan-release', ext: 'aar')
    compile(name: 'vlc-release', ext: 'aar')
  //  compile(name: 'xpadcomm-release', ext: 'aar')
    compile files('libs/ant.jar')
    compile project(':tableLayout')
    compile 'com.bm.photoview:library:1.4.1'
    compile 'com.github.barteksc:android-pdf-viewer:2.7.0'
    compile 'com.google.code.gson:gson:2.6.2'
}