Skip to content

Commit

Permalink
lottie/build.gradle → lottie/build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Feb 12, 2024
1 parent 6bfa0c5 commit 15bee00
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 47 deletions.
51 changes: 51 additions & 0 deletions lottie/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
plugins {
id "org.jlleitschuh.gradle.ktlint" version "12.1.0"
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
namespace 'com.haishinkit.lottie'
compileSdk 34
defaultConfig {
minSdkVersion 21
targetSdkVersion 34
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildFeatures {
buildConfig = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
// For Kotlin projects
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
publishing {
singleVariant("release")
}
}

dependencies {
compileOnly project(":haishinkit")
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
implementation 'com.airbnb.android:lottie:6.3.0'
api fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.core:core-ktx:1.12.0'
testImplementation 'junit:junit:4.13.2'
}
46 changes: 0 additions & 46 deletions lottie/build.gradle.kts

This file was deleted.

1 change: 0 additions & 1 deletion lottie/src/main/java/com/haishinkit/lottie/LottieScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import java.lang.ref.WeakReference
import java.util.zip.ZipInputStream
import kotlin.math.min


/**
* An object that manages offscreen rendering a lottie source.
*/
Expand Down

0 comments on commit 15bee00

Please sign in to comment.