1apply plugin: 'com.android.application' 2 3android { 4 compileSdkVersion 28 5 defaultConfig { 6 applicationId "com.prefabulated.swappy" 7 minSdkVersion 21 8 targetSdkVersion 28 9 versionCode 1 10 versionName "1.0" 11 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 12 externalNativeBuild { 13 cmake { 14 } 15 } 16 } 17 buildTypes { 18 debug { 19 ndk { 20 abiFilters "arm64-v8a", "armeabi-v7a", "x86" 21 } 22 } 23 release { 24 minifyEnabled false 25 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 26 ndk { 27 abiFilters "arm64-v8a", "armeabi-v7a", "x86" 28 } 29 } 30 } 31 externalNativeBuild { 32 cmake { 33 path "CMakeLists.txt" 34 } 35 } 36 compileOptions { 37 sourceCompatibility JavaVersion.VERSION_1_8 38 targetCompatibility JavaVersion.VERSION_1_8 39 } 40} 41 42allprojects { 43 gradle.projectsEvaluated { 44 tasks.withType(JavaCompile) { 45 options.compilerArgs << "-Xlint:deprecation" 46 } 47 } 48} 49 50dependencies { 51 implementation fileTree(include: ['*.jar'], dir: 'libs') 52 implementation 'androidx.appcompat:appcompat:1.0.0-rc01' 53 implementation 'androidx.constraintlayout:constraintlayout:1.1.2' 54 implementation 'androidx.preference:preference:1.0.0-rc01' 55 implementation project(':extras') 56 testImplementation 'junit:junit:4.12' 57} 58