| apply plugin: 'com.android.application' |
| |
| def GAMESDK_ROOT = '../../../..' |
| |
| android { |
| compileSdkVersion 28 |
| defaultConfig { |
| applicationId "com.prefabulated.swappy" |
| minSdkVersion 21 |
| targetSdkVersion 28 |
| versionCode 1 |
| versionName "1.0" |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| externalNativeBuild { |
| cmake { |
| arguments "-DGAMESDK_ROOT=$GAMESDK_ROOT" |
| } |
| } |
| } |
| buildTypes { |
| debug { |
| ndk { |
| abiFilters "arm64-v8a", "armeabi-v7a" |
| } |
| } |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| ndk { |
| abiFilters "arm64-v8a", "armeabi-v7a" |
| } |
| } |
| } |
| 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' |
| } |