diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 21c1b1e..3645cee 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -125,7 +125,7 @@ dependencies { // 添加 lifecycle-runtime-ktx 依赖 implementation(libs.androidx.lifecycle.runtime.ktx.v262) implementation (libs.eventbus) - + implementation(libs.lottie) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a1107a7..4bb9db8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -98,7 +98,7 @@ play-services-auth = { module = "com.google.android.gms:play-services-auth", ver rendering = { group = "com.google.ar.sceneform", name = "rendering", version.ref = "rendering" } retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "converterGson" } zoomable = { module = "net.engawapg.lib:zoomable", version.ref = "zoomable" } +lottie = { module="com.airbnb.android:lottie-compose", version="6.6.10"} [plugins] android-application = { id = "com.android.application", version.ref = "agp" } jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } - diff --git a/settings.gradle.kts b/settings.gradle.kts index 1ace512..d16227b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -16,6 +16,7 @@ dependencyResolutionManagement { repositories { google() mavenCentral() + maven(url = "https://jitpack.io") } }