| /** |
| * 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.Publish |
| import androidx.build.LibraryType |
| |
| plugins { |
| id("AndroidXPlugin") |
| id('com.android.library') |
| } |
| android { |
| namespace 'androidx.webkit.instrumentation' |
| |
| flavorDimensions = ["targetSdk"] |
| |
| productFlavors { |
| targetSdk32 { |
| dimension "targetSdk" |
| targetSdkVersion 32 |
| } |
| targetSdkLatest { |
| dimension "targetSdk" |
| // uses default config |
| } |
| } |
| } |
| dependencies { |
| androidTestImplementation(project(":webkit:webkit")) |
| |
| androidTestImplementation(libs.okhttpMockwebserver) |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation("androidx.appcompat:appcompat:1.1.0") |
| androidTestImplementation("androidx.concurrent:concurrent-futures:1.0.0") |
| androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) |
| |
| // Hamcrest matchers: |
| androidTestImplementation(libs.bundles.espressoContrib, excludes.espresso) |
| } |
| |
| androidx { |
| type = type = LibraryType.INTERNAL_TEST_LIBRARY |
| additionalDeviceTestApkKeys.add("chrome") |
| } |