| import androidx.build.Publish |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| android { |
| buildTypes.all { |
| consumerProguardFiles "proguard-rules.pro" |
| } |
| namespace "androidx.lifecycle.runtime" |
| } |
| |
| dependencies { |
| api(libs.kotlinStdlib) |
| api(project(":lifecycle:lifecycle-common")) |
| |
| api("androidx.arch.core:core-common:2.2.0") |
| // necessary for IJ to resolve dependencies. |
| api("androidx.annotation:annotation:1.1.0") |
| implementation("androidx.arch.core:core-runtime:2.2.0") |
| implementation("androidx.profileinstaller:profileinstaller:1.3.0") |
| |
| testImplementation(libs.junit) |
| testImplementation(libs.mockitoCore4) |
| |
| androidTestImplementation(libs.junit) |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| } |
| |
| androidx { |
| name = "Lifecycle Runtime" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| inceptionYear "2017" |
| description "Android Lifecycle Runtime" |
| } |