Skip to content

Commit

Permalink
v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gpeal committed Feb 14, 2023
1 parent 48e6678 commit 83ec159
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -28,9 +28,9 @@ buildscript {
}
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'
}
}
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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
7 changes: 7 additions & 0 deletions lottie-compose/build.gradle
@@ -1,3 +1,5 @@
import com.vanniktech.maven.publish.SonatypeHost

plugins {
id 'com.android.library'
id 'kotlin-android'
Expand Down Expand Up @@ -36,6 +38,11 @@ android {
}
}

mavenPublishing {
publishToMavenCentral(SonatypeHost.DEFAULT)
signAllPublications()
}

dependencies {
api project(':lottie')
implementation "androidx.compose.foundation:foundation:$composeVersion"
Expand Down
6 changes: 6 additions & 0 deletions lottie/build.gradle
@@ -1,3 +1,4 @@
import com.vanniktech.maven.publish.SonatypeHost
import net.ltgt.gradle.errorprone.CheckSeverity

plugins {
Expand Down Expand Up @@ -30,6 +31,11 @@ android {
}
}

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.
Expand Down
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion upload_release.sh
Expand Up @@ -4,4 +4,4 @@ if [ "$git_branch" != "master" ]; then
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
./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:publish lottie-compose:publish --rerun-tasks --no-parallel --no-configuration-cache --stacktrace

0 comments on commit 83ec159

Please sign in to comment.