| import androidx.build.Publish |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| id("kotlin-android") |
| } |
| |
| android { |
| buildTypes.all { |
| consumerProguardFiles("proguard-rules.pro") |
| } |
| namespace "androidx.savedstate" |
| } |
| |
| dependencies { |
| // Atomic group |
| constraints { |
| implementation(project(":savedstate:savedstate-ktx")) |
| } |
| |
| api("androidx.annotation:annotation:1.1.0") |
| implementation("androidx.arch.core:core-common:2.1.0") |
| implementation("androidx.lifecycle:lifecycle-common:2.6.1") |
| api(libs.kotlinStdlib) |
| |
| androidTestImplementation(projectOrArtifact(":lifecycle:lifecycle-runtime")) |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.truth) |
| } |
| |
| androidx { |
| name = "Saved State" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| inceptionYear = "2018" |
| description = "Android Lifecycle Saved State" |
| } |