Bump version to 4.0 and upgrade Compose to 1.0 (#1856)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 841cb04..bd55d5b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# 4.0.0
+* Support for lottie-compose 4.0.0
+
# 3.7.1
* Support for lottie-compose 1.0.0-rc02-1
diff --git a/CHANGELOG_COMPOSE.md b/CHANGELOG_COMPOSE.md
index 6bdf4d2..35830ea 100644
--- a/CHANGELOG_COMPOSE.md
+++ b/CHANGELOG_COMPOSE.md
@@ -1,6 +1,10 @@
#### Note: For the time being, we won't provide numbered releases for every new Jetpack Compose
version. Check out our [snapshot builds](https://github.com/airbnb/lottie/blob/master/android-compose.md#getting-started) instead.
+# 4.0.0
+* Upgrade to Compose 1.0
+* Made LottieCompositionSpec an inline class([#1855](https://github.com/airbnb/lottie-android/pull/1855))
+
# 1.0.0-rc02-1
* Upgrade to Compose rc02
* Add support for ContentScale and Alignment just like the Image composable ([#1844](https://github.com/airbnb/lottie-android/pull/1844))
@@ -63,4 +67,4 @@
* Compatible with Jetpack Compose alpha 6
* Built with Lottie 3.5.0
* Wraps the existing renderer with Jetpack Compose friendly APIs.
-* For up to date docs on how to use it, check out the [docs](http://airbnb.io/lottie/#/android-compose).
\ No newline at end of file
+* For up to date docs on how to use it, check out the [docs](http://airbnb.io/lottie/#/android-compose).
diff --git a/build.gradle b/build.gradle
index 255d4d3..0f2dcad 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,7 +2,7 @@
buildscript {
ext {
- composeVersion = '1.0.0-rc02'
+ composeVersion = '1.0.0'
kotlinVersion = '1.5.10'
daggerVersion = '2.37'
}
@@ -15,7 +15,7 @@
}
dependencies {
classpath 'org.ajoberstar:grgit:1.9.3'
- classpath 'com.android.tools.build:gradle:7.0.0-rc01'
+ classpath 'com.android.tools.build:gradle:7.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'org.ajoberstar:grgit:1.9.3'
classpath "net.ltgt.gradle:gradle-errorprone-plugin:2.0.1"
diff --git a/gradle.properties b/gradle.properties
index 9708a7b..6eee6e8 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,7 +17,7 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
-VERSION_NAME=3.7.3-SNAPSHOT
+VERSION_NAME=4.0.0
GROUP=com.airbnb.android
POM_DESCRIPTION=Lottie is an animation library that renders Adobe After Effects animations natively in realtime.
diff --git a/lottie-compose/gradle.properties b/lottie-compose/gradle.properties
index c4791a5..c7a175e 100644
--- a/lottie-compose/gradle.properties
+++ b/lottie-compose/gradle.properties
@@ -4,4 +4,3 @@
POM_ARTIFACT_ID=lottie-compose
POM_PACKAGING=aar
GROUP=com.airbnb.android
-VERSION_NAME=1.0.0-rc02-2-SNAPSHOT