| plugins { |
| id 'com.android.application' |
| id "kotlin-android" |
| } |
| |
| android { |
| compileSdk 31 |
| defaultConfig { |
| applicationId "com.airbnb.lottie.issues.compose" |
| minSdk 21 |
| targetSdk 30 |
| versionCode 1 |
| versionName "1.0" |
| } |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| kotlinOptions { |
| jvmTarget = JavaVersion.VERSION_1_8.toString() |
| } |
| buildFeatures { |
| compose true |
| } |
| composeOptions { |
| kotlinCompilerExtensionVersion composeVersion |
| } |
| } |
| |
| dependencies { |
| implementation project(':lottie-compose') |
| implementation "androidx.appcompat:appcompat:$appcompatVersion" |
| implementation "androidx.activity:activity-compose:$activityVersion" |
| implementation "androidx.compose.ui:ui:$composeVersion" |
| implementation "androidx.compose.material:material:$composeVersion" |
| implementation "androidx.compose.material:material-icons-extended:$composeVersion" |
| implementation "androidx.compose.ui:ui-tooling:$composeVersion" |
| } |