• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'com.android.library'
2
3android {
4    compileSdkVersion 29
5    compileOptions {
6        sourceCompatibility JavaVersion.VERSION_1_8
7        targetCompatibility JavaVersion.VERSION_1_8
8    }
9    buildToolsVersion "29.0.3"
10
11    defaultConfig {
12        minSdkVersion 19
13        targetSdkVersion 29
14        versionCode 1
15        versionName "1.0"
16    }
17
18    //    When building from Android Studio, ensure that local variables are set:
19    //    sdk.dir=[sdk file path]
20    //    depot_tools.dir=[depot tools file path]
21    //    x86.out.dir=[out file for x86]
22    //    x64.out.dir=[out file for x64]
23    //    arm64.out.dir=[out file for xarm64]
24    //    arm.out.dir=[out file for arm]
25
26    sourceSets.main.jniLibs.srcDir "src/main/libs"
27    flavorDimensions "base"
28    productFlavors { arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; }
29    setupSkiaLibraryBuild(project, libraryVariants, "libskottie_android")
30
31}
32
33dependencies {
34    implementation 'androidx.appcompat:appcompat:1.1.0'
35
36}
37