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 'com.android.support:support-v13:23.3.0' 11 implementation 'com.android.support:appcompat-v7:23.3.0' 12} 13 14android { 15 compileSdkVersion 23 16 compileOptions { 17 sourceCompatibility JavaVersion.VERSION_1_8 18 targetCompatibility JavaVersion.VERSION_1_8 19 } 20 flavorDimensions "tier" 21 defaultConfig { 22 applicationId "org.skia.skottie" 23 minSdkVersion 23 24 targetSdkVersion 23 25 versionCode 1 26 versionName "1.0" 27 signingConfig signingConfigs.debug 28 } 29 flavorDimensions "base" 30 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call 31 sourceSets.main.jniLibs.srcDir "src/main/libs" 32 productFlavors { universal{}; arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; } 33 34 setupSkiaLibraryBuild(project, applicationVariants, "libskottie_android") 35} 36