apply plugin: 'com.android.application'

android {
    compileSdkVersion 24
    buildToolsVersion "26.0.2"

    defaultConfig {
        applicationId "eu.project.rapid.demo"
        minSdkVersion 19
        targetSdkVersion 24

        ndk {
            moduleName "hello-jni"
        }
    }

    buildTypes {
        debug {
            minifyEnabled false
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
        release {
            minifyEnabled false
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
    externalNativeBuild {
        ndkBuild {
            path 'src/main/jni/Android.mk'
        }
    }

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
}

dependencies {
    // The libraries are imported in settings.gradle when developing locally.
    // Uncomment the following lines if you are just a user.
    //    compile 'eu.project.rapid:rapid-android-ac:0.0.9'
    //    compile 'eu.project.rapid:rapid-gvirtus4a:0.0.2'
    compile project(':rapid-android-ac')
    compile project(':rapid-gvirtus4a')
    compile files('libs/core-1.51.0.0.jar')
    compile files('libs/prov-1.51.0.0.jar')

    compile 'com.squareup.retrofit2:retrofit:2.4.0'
    compile 'com.squareup.okhttp3:logging-interceptor:3.4.0'
    compile 'com.squareup.retrofit2:converter-gson:2.3.0'
    compile 'com.squareup:otto:1.3.8'
}
