Bump dependencies, remove all deprecations, improve CI builds (#2316)

Another set of build updates. I'll try to comment out each of them. And again, a reminder, please let me know if these are not aligned with the direction this project heads to :)

I have a couple more ideas of things that could be improved. A few examples:

introducing static code analysis for Kotlin files
running more checks on the CI (building sample apps, running UI tests)
Sample app, the one available on Google Play, does not work properly when scanning QR codes
Improve testability by fixing the re-initialization (one of the opened non-rendering issues)
and maybe, eventually, once I get more familiar with how Lottie library works internally, I'll be able to fix the bug reported if it is even fixable 😅
14 files changed
tree: c62409dfe41f7752b9123471b82d25fa555fc787
  1. .github/
  2. .idea/
  3. After Effects Samples/
  4. gifs/
  5. gradle/
  6. images/
  7. issue-repro/
  8. issue-repro-compose/
  9. lottie/
  10. lottie-compose/
  11. sample/
  12. sample-compose/
  13. sample-compose-benchmark/
  14. snapshot-tests/
  15. .editorconfig
  16. .gitattributes
  17. .gitignore
  18. build.gradle
  19. CHANGELOG.md
  20. CHANGELOG_COMPOSE.md
  21. CODE_OF_CONDUCT.md
  22. deploy_snapshot.sh
  23. DESIGNER_NOTES.md
  24. gradle.properties
  25. gradlew
  26. gradlew.bat
  27. LICENSE
  28. lint.xml
  29. post_pr_comment.js
  30. README.md
  31. RELEASE.md
  32. settings.gradle
  33. sign.sh
  34. upload_release.sh
  35. version.sh
  36. versions.properties
README.md

Lottie for Android, iOS, React Native, Web, and Windows

Build Status

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000:

Sponsors

Lottie is maintained and improved on nights and weekends. If you use Lottie in your app, please consider sponsoring it to help ensure that we can continue to improve the project we love. Click the sponsor button above to learn more

Lead Sponsors

View documentation, FAQ, help, examples, and more at airbnb.io/lottie

Example1

Example2

Example3

Community

Example4

Download

Gradle is the only supported build configuration, so just add the dependency to your project build.gradle file:

dependencies {
  implementation 'com.airbnb.android:lottie:$lottieVersion'
}

The latest Lottie version is: lottieVersion

The latest stable Lottie-Compose version is: lottieVersion Click here for more information on Lottie-Compose.

Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.

Contributing

Because development has started for Lottie Compose, Gradle, and the Android Gradle Plugin will be kept up to date with the latest canaries. This also requires you to use Android Studio Canary builds. Preview builds can be installed side by side with stable versions.