v6.0.0
diff --git a/build.gradle b/build.gradle
index 553265f..7fa614c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -28,9 +28,9 @@
}
dependencies {
classpath 'org.ajoberstar.grgit:grgit-gradle:4.1.1'
- classpath 'com.android.tools.build:gradle:7.0.4'
+ classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
- classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
+ classpath 'com.vanniktech:gradle-maven-publish-plugin:0.24.0'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.5.30'
}
}
diff --git a/gradle.properties b/gradle.properties
index 24de3cc..5cabffb 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-VERSION_NAME=6.0.0-SNAPSHOT
+VERSION_NAME=6.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/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index ffed3a2..e750102 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/lottie-compose/build.gradle b/lottie-compose/build.gradle
index 21f3d2d..e4cb067 100644
--- a/lottie-compose/build.gradle
+++ b/lottie-compose/build.gradle
@@ -1,3 +1,5 @@
+import com.vanniktech.maven.publish.SonatypeHost
+
plugins {
id 'com.android.library'
id 'kotlin-android'
@@ -36,6 +38,11 @@
}
}
+mavenPublishing {
+ publishToMavenCentral(SonatypeHost.DEFAULT)
+ signAllPublications()
+}
+
dependencies {
api project(':lottie')
implementation "androidx.compose.foundation:foundation:$composeVersion"
diff --git a/lottie/build.gradle b/lottie/build.gradle
index 8ba8dcf..2cc26ba 100644
--- a/lottie/build.gradle
+++ b/lottie/build.gradle
@@ -1,3 +1,4 @@
+import com.vanniktech.maven.publish.SonatypeHost
import net.ltgt.gradle.errorprone.CheckSeverity
plugins {
@@ -30,6 +31,11 @@
}
}
+mavenPublishing {
+ publishToMavenCentral(SonatypeHost.DEFAULT)
+ signAllPublications()
+}
+
dependencies {
implementation "androidx.appcompat:appcompat:$appcompatVersion"
// Do not upgrade to 2.0 because it will bring in Kotlin as a transitive dependency.
diff --git a/lottie/src/main/java/com/airbnb/lottie/value/LottieValueCallback.java b/lottie/src/main/java/com/airbnb/lottie/value/LottieValueCallback.java
index 1cf5d20..6027000 100644
--- a/lottie/src/main/java/com/airbnb/lottie/value/LottieValueCallback.java
+++ b/lottie/src/main/java/com/airbnb/lottie/value/LottieValueCallback.java
@@ -14,7 +14,7 @@
*
* If your dynamic property does the following, you must call {@link LottieAnimationView#invalidate()} or
* {@link LottieDrawable#invalidateSelf()} each time you want to update this value.
- * 1. Use {@link com.airbnb.lottie.RenderMode.SOFTWARE}
+ * 1. Use {@link com.airbnb.lottie.RenderMode#SOFTWARE}
* 2. Rendering a static image (the animation is either paused or there are no values
* changing within the animation itself)
* When using software rendering, Lottie caches the internal rendering bitmap. Whenever the animation changes
diff --git a/upload_release.sh b/upload_release.sh
index aa08990..b1dd602 100755
--- a/upload_release.sh
+++ b/upload_release.sh
@@ -4,4 +4,4 @@
echo "You must run this from master!"
exit 1
fi
-./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:publish lottie-compose:publish -DORG_GRADLE_PROJECT_mavenCentralUsername="${SONATYPE_USERNAME}" -DORG_GRADLE_PROJECT_mavenCentralPassword="${SONATYPE_PASSWORD}" --rerun-tasks --no-parallel --no-configuration-cache
\ No newline at end of file
+./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:publish lottie-compose:publish --rerun-tasks --no-parallel --no-configuration-cache --stacktrace