blob: 81f1e29e9d40e1943f6fb6edf50b480f5c12cfc5 [file] [log] [blame]
Chris Craik22c33922019-07-25 12:33:06 -07001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Chris Craik22c33922019-07-25 12:33:06 -070017import androidx.build.Publish
18
19plugins {
20 id("AndroidXPlugin")
21 id("com.android.library")
22 id("kotlin-android")
23}
24
25android {
26 defaultConfig {
Dustin Lam3a125bc2019-07-27 19:40:11 -070027 testInstrumentationRunner = "androidx.benchmark.junit4.AndroidBenchmarkRunner"
Chris Craik22c33922019-07-25 12:33:06 -070028 }
29}
30
31dependencies {
32 api(project(":benchmark:benchmark-common"))
Chris Craik22c33922019-07-25 12:33:06 -070033
Aurimas Liutikas2c1a81e2021-05-24 16:43:05 -070034 api(libs.junit)
35 api(libs.kotlinStdlib)
Chris Craik22c33922019-07-25 12:33:06 -070036
Rahul Ravikumara1d7e3f2021-10-18 13:49:40 -070037 implementation("androidx.test:rules:1.4.0")
38 implementation("androidx.test:runner:1.4.0")
Chris Craikf75110b2020-11-06 08:15:24 -080039 implementation("androidx.tracing:tracing-ktx:1.0.0")
Dustin Lam79d9d242020-03-30 19:43:53 -070040 api("androidx.annotation:annotation:1.1.0")
Chris Craik22c33922019-07-25 12:33:06 -070041
Chris Craikf5d35eb2021-08-11 17:35:21 -070042 androidTestImplementation(project(":internal-testutils-ktx"))
Jeremy Woodsfa788952021-07-29 16:12:29 -070043 androidTestImplementation(libs.testCore)
Aurimas Liutikas2c1a81e2021-05-24 16:43:05 -070044 androidTestImplementation(libs.testExtJunit)
Chris Craik22c33922019-07-25 12:33:06 -070045}
46
47androidx {
48 name = "Android Benchmark - JUnit4"
49 publish = Publish.SNAPSHOT_AND_RELEASE
Chris Craik22c33922019-07-25 12:33:06 -070050 mavenGroup = LibraryGroups.BENCHMARK
51 inceptionYear = "2019"
52 description = "Android Benchmark - JUnit4"
53}