Skip to content

Commit 83ec159

Browse files
committed
v6.0.0
1 parent 48e6678 commit 83ec159

File tree

7 files changed

+19
-6
lines changed

7 files changed

+19
-6
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ buildscript {
2828
}
2929
dependencies {
3030
classpath 'org.ajoberstar.grgit:grgit-gradle:4.1.1'
31-
classpath 'com.android.tools.build:gradle:7.0.4'
31+
classpath 'com.android.tools.build:gradle:7.1.3'
3232
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
33-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
33+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.24.0'
3434
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.5.30'
3535
}
3636
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=6.0.0-SNAPSHOT
1+
VERSION_NAME=6.0.0
22
GROUP=com.airbnb.android
33

44
POM_DESCRIPTION=Lottie is an animation library that renders Adobe After Effects animations natively in realtime.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

lottie-compose/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import com.vanniktech.maven.publish.SonatypeHost
2+
13
plugins {
24
id 'com.android.library'
35
id 'kotlin-android'
@@ -36,6 +38,11 @@ android {
3638
}
3739
}
3840

41+
mavenPublishing {
42+
publishToMavenCentral(SonatypeHost.DEFAULT)
43+
signAllPublications()
44+
}
45+
3946
dependencies {
4047
api project(':lottie')
4148
implementation "androidx.compose.foundation:foundation:$composeVersion"

lottie/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import com.vanniktech.maven.publish.SonatypeHost
12
import net.ltgt.gradle.errorprone.CheckSeverity
23

34
plugins {
@@ -30,6 +31,11 @@ android {
3031
}
3132
}
3233

34+
mavenPublishing {
35+
publishToMavenCentral(SonatypeHost.DEFAULT)
36+
signAllPublications()
37+
}
38+
3339
dependencies {
3440
implementation "androidx.appcompat:appcompat:$appcompatVersion"
3541
// Do not upgrade to 2.0 because it will bring in Kotlin as a transitive dependency.

lottie/src/main/java/com/airbnb/lottie/value/LottieValueCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* If your dynamic property does the following, you must call {@link LottieAnimationView#invalidate()} or
1616
* {@link LottieDrawable#invalidateSelf()} each time you want to update this value.
17-
* 1. Use {@link com.airbnb.lottie.RenderMode.SOFTWARE}
17+
* 1. Use {@link com.airbnb.lottie.RenderMode#SOFTWARE}
1818
* 2. Rendering a static image (the animation is either paused or there are no values
1919
* changing within the animation itself)
2020
* When using software rendering, Lottie caches the internal rendering bitmap. Whenever the animation changes

upload_release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ if [ "$git_branch" != "master" ]; then
44
echo "You must run this from master!"
55
exit 1
66
fi
7-
./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
7+
./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:publish lottie-compose:publish --rerun-tasks --no-parallel --no-configuration-cache --stacktrace

0 commit comments

Comments
 (0)