| plugins { |
| id 'com.android.library' |
| id 'kotlin-android' |
| } |
| apply from: 'gradle-maven-push.gradle' |
| |
| android { |
| compileSdkVersion 30 |
| buildToolsVersion "30.0.2" |
| |
| defaultConfig { |
| minSdkVersion 21 |
| targetSdkVersion 30 |
| |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| |
| buildTypes { |
| release { |
| minifyEnabled false |
| } |
| } |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| kotlinOptions { |
| jvmTarget = '1.8' |
| freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check"] |
| } |
| buildFeatures { |
| compose true |
| } |
| composeOptions { |
| kotlinCompilerExtensionVersion composeVersion |
| kotlinCompilerVersion kotlinVersion |
| } |
| } |
| |
| dependencies { |
| api project(':lottie') |
| implementation "androidx.compose.ui:ui:$composeVersion" |
| implementation "androidx.compose.material:material:$composeVersion" |
| implementation "androidx.compose.material:material-icons-extended:$composeVersion" |
| implementation 'androidx.lifecycle:lifecycle-common-java8:2.3.0-beta01' |
| } |