• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright 2018 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7apply plugin: 'com.android.application'
8
9dependencies {
10    implementation project("skottielib")
11    implementation 'androidx.appcompat:appcompat:1.1.0'
12    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
13    implementation 'com.airbnb.android:lottie:3.4.1'
14}
15
16android {
17    compileSdkVersion 28
18    compileOptions {
19        sourceCompatibility JavaVersion.VERSION_1_8
20        targetCompatibility JavaVersion.VERSION_1_8
21    }
22    flavorDimensions "tier"
23    defaultConfig {
24        minSdkVersion 26
25        targetSdkVersion 28
26        versionCode 1
27        versionName "1.0"
28        signingConfig signingConfigs.debug
29    }
30    flavorDimensions "base"
31    sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call
32    sourceSets.main.jniLibs.srcDir "src/main/libs"
33
34    //    When building from Android Studio, ensure that local variables are set:
35    //    sdk.dir=[sdk file path]
36    //    depot_tools.dir=[depot tools file path]
37    //    x86.out.dir=[out file for x86]
38    //    x64.out.dir=[out file for x64]
39    //    arm64.out.dir=[out file for xarm64]
40    //    arm.out.dir=[out file for arm]
41
42    productFlavors { arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan {}; }
43
44}
45