/* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion 28 defaultConfig { applicationId "fishrungames.mountainwallpaper" minSdkVersion 19 targetSdkVersion 28 versionCode 2 versionName "1.1" externalNativeBuild { cmake { cppFlags "-std=c++11 -frtti -fexceptions -fsigned-char -Wno-c++11-narrowing" abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86' } } } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), file('proguard-project.txt') } } sourceSets { main { assets.srcDirs = ['../../assets/'] } } splits { abi { enable true reset() include 'arm64-v8a', 'armeabi-v7a', 'x86' } } externalNativeBuild { cmake { path 'CMakeLists.txt' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "com.android.support:appcompat-v7:$supportLibraryVersion" implementation "com.android.support:preference-v7:$supportLibraryVersion" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation project(':SalmonEngineAndroid') }