apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.prefabulated.swappy" minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { } } } buildTypes { debug { ndk { abiFilters "arm64-v8a", "armeabi-v7a", "x86" } } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' ndk { abiFilters "arm64-v8a", "armeabi-v7a", "x86" } } } externalNativeBuild { cmake { path "CMakeLists.txt" } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:deprecation" } } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0-rc01' implementation 'androidx.constraintlayout:constraintlayout:1.1.2' implementation 'androidx.preference:preference:1.0.0-rc01' implementation project(':extras') testImplementation 'junit:junit:4.12' }