| /** |
| * This file was created using the `create_project.py` script located in the |
| * `<AndroidX root>/development/project-creator` directory. |
| * |
| * Please use that script when creating a new project, rather than copying an existing project and |
| * modifying its settings. |
| */ |
| import androidx.build.LibraryType |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| } |
| |
| dependencies { |
| api("androidx.annotation:annotation:1.0.0") |
| api("androidx.lifecycle:lifecycle-viewmodel:2.0.0") |
| implementation(projectOrArtifact(":core:core")) |
| implementation("androidx.collection:collection:1.0.0") |
| implementation("androidx.lifecycle:lifecycle-livedata-core:2.0.0") |
| |
| androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing:2.3.1") |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.espressoCore, excludes.espresso) |
| androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| } |
| |
| androidx { |
| name = "loader" |
| type = LibraryType.PUBLISHED_LIBRARY |
| inceptionYear = "2011" |
| description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 14 or later." |
| metalavaK2UastEnabled = true |
| } |
| |
| android { |
| compileSdk 35 |
| namespace "androidx.loader" |
| } |