Bob Badour | 9877147 | 2021-04-20 13:58:05 -0700 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["external_lottie_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change that took the approach of |
| 6 | // 'apply every license found to every target'. While this makes sure we respect |
| 7 | // every license restriction, it may not be entirely correct. |
| 8 | // |
| 9 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 10 | // |
| 11 | // Please consider splitting the single license below into multiple licenses, |
| 12 | // taking care not to lose any license_kind information, and overriding the |
| 13 | // default license using the 'licenses: [...]' property on targets as needed. |
| 14 | // |
| 15 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 16 | // to attach the license to, and including a comment whether the files may be |
| 17 | // used in the current project. |
| 18 | // See: http://go/android-license-faq |
| 19 | license { |
| 20 | name: "external_lottie_license", |
| 21 | visibility: [":__subpackages__"], |
| 22 | license_kinds: [ |
| 23 | "SPDX-license-identifier-Apache-2.0", |
| 24 | "SPDX-license-identifier-CC-BY-SA", |
| 25 | ], |
| 26 | license_text: [ |
| 27 | "LICENSE", |
| 28 | ], |
| 29 | } |
| 30 | |
arangelov | 6ed8ce0 | 2021-04-19 13:54:05 +0100 | [diff] [blame] | 31 | android_library { |
| 32 | name: "lottie", |
| 33 | srcs: [ |
| 34 | "lottie/src/main/**/*.java", |
| 35 | ], |
| 36 | resource_dirs: ["lottie/src/main/res/"], |
| 37 | static_libs: [ |
| 38 | "androidx.appcompat_appcompat", |
| 39 | "okio-lib" |
| 40 | ], |
| 41 | manifest: "lottie/src/main/AndroidManifest.xml", |
Aurimas Liutikas | 8b2e94e | 2021-07-30 16:03:27 -0700 | [diff] [blame] | 42 | sdk_version: "31", |
arangelov | 6ed8ce0 | 2021-04-19 13:54:05 +0100 | [diff] [blame] | 43 | min_sdk_version: "16", |
| 44 | java_version: "1.7", |
arangelov | fa5f3fa | 2021-06-07 10:45:43 +0100 | [diff] [blame] | 45 | optimize: { |
| 46 | proguard_flags_files: ["proguard.flags"], |
| 47 | } |
arangelov | 6ed8ce0 | 2021-04-19 13:54:05 +0100 | [diff] [blame] | 48 | } |