2018-11-18 10:36:37 +00:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2017-01-10 15:02:51 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2018-11-18 10:36:37 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
2017-01-10 15:02:51 +00:00
|
|
|
|
|
|
|
android {
|
2018-10-31 09:48:08 +00:00
|
|
|
compileSdkVersion 28
|
2018-11-30 06:12:36 +00:00
|
|
|
buildToolsVersion "28.0.3"
|
2018-11-18 10:36:37 +00:00
|
|
|
|
2017-01-10 15:02:51 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "fishrungames.mountainwallpaper"
|
2018-10-31 09:48:08 +00:00
|
|
|
minSdkVersion 19
|
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 2
|
|
|
|
versionName "1.1"
|
2018-11-18 10:36:37 +00:00
|
|
|
|
2017-01-10 15:02:51 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags "-std=c++11 -frtti -fexceptions -fsigned-char -Wno-c++11-narrowing"
|
2018-11-18 10:36:37 +00:00
|
|
|
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86'
|
2017-01-10 15:02:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-18 10:36:37 +00:00
|
|
|
|
2017-01-10 15:02:51 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2018-11-18 10:36:37 +00:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), file('proguard-project.txt')
|
2017-01-10 15:02:51 +00:00
|
|
|
}
|
|
|
|
}
|
2018-11-18 10:36:37 +00:00
|
|
|
|
2017-01-10 15:02:51 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
assets.srcDirs = ['../../assets/']
|
|
|
|
}
|
|
|
|
}
|
2018-11-18 10:36:37 +00:00
|
|
|
|
|
|
|
splits {
|
|
|
|
abi {
|
|
|
|
enable true
|
|
|
|
reset()
|
|
|
|
include 'arm64-v8a', 'armeabi-v7a', 'x86'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path 'CMakeLists.txt'
|
|
|
|
}
|
|
|
|
}
|
2017-01-10 15:02:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-11-18 10:36:37 +00:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2018-10-31 09:48:08 +00:00
|
|
|
|
2018-11-18 10:36:37 +00:00
|
|
|
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
|
|
|
|
implementation "com.android.support:preference-v7:$supportLibraryVersion"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2017-01-10 15:02:51 +00:00
|
|
|
|
2018-11-18 10:36:37 +00:00
|
|
|
implementation project(':SalmonEngineAndroid')
|
|
|
|
}
|