2018-08-02 15:10:52 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2018 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
dependencies {
|
2020-06-22 14:14:32 +00:00
|
|
|
implementation project("skottielib")
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
2020-06-23 14:58:39 +00:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation 'com.airbnb.android:lottie:3.4.1'
|
2018-08-02 15:10:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2020-06-22 14:14:32 +00:00
|
|
|
compileSdkVersion 28
|
2018-08-02 15:10:52 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
flavorDimensions "tier"
|
|
|
|
defaultConfig {
|
2020-06-22 14:14:32 +00:00
|
|
|
minSdkVersion 19
|
|
|
|
targetSdkVersion 28
|
2018-08-02 15:10:52 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
|
|
|
flavorDimensions "base"
|
|
|
|
sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
sourceSets.main.jniLibs.srcDir "src/main/libs"
|
|
|
|
|
2020-06-22 14:14:32 +00:00
|
|
|
// When building from Android Studio, ensure that local variables are set:
|
|
|
|
// sdk.dir=[sdk file path]
|
|
|
|
// depot_tools.dir=[depot tools file path]
|
|
|
|
// x86.out.dir=[out file for x86]
|
|
|
|
// x64.out.dir=[out file for x64]
|
|
|
|
// arm64.out.dir=[out file for xarm64]
|
|
|
|
// arm.out.dir=[out file for arm]
|
|
|
|
|
|
|
|
productFlavors { arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; }
|
|
|
|
|
2018-08-02 15:10:52 +00:00
|
|
|
}
|