apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
group='com.consenlabs.android'

android {
    compileSdkVersion 28


    defaultConfig {
        minSdkVersion 22
        targetSdkVersion 28
        versionCode 2
        versionName "1.1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        consumerProguardFiles 'consumer-rules.pro'
    }

    buildTypes {
        debug {
            ndk {
                abiFilters "armeabi-v7a" , "arm64-v8a", "x86", "x86_64"
            }
        }
        release {
            ndk {
                abiFilters "armeabi-v7a" , "arm64-v8a", "x86", "x86_64"
            }
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'com.android.support:appcompat-v7:28.0.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

apply from: 'maven-push.gradle'
//apply from: 'maven-push-nexus.gradle'
