blob: 11d54c0f779044a4b7f0b13eaa70d3f953f8b377 [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.LibraryGroups
Chris Craik22c33922019-07-25 12:33:06 -070018import androidx.build.Publish
19
20plugins {
21 id("AndroidXPlugin")
22 id("com.android.library")
23 id("kotlin-android")
24}
25
26android {
27 defaultConfig {
Dustin Lam3a125bc2019-07-27 19:40:11 -070028 testInstrumentationRunner = "androidx.benchmark.junit4.AndroidBenchmarkRunner"
Chris Craik22c33922019-07-25 12:33:06 -070029 }
30}
31
32dependencies {
33 api(project(":benchmark:benchmark-common"))
Chris Craik22c33922019-07-25 12:33:06 -070034
Aurimas Liutikas2c1a81e2021-05-24 16:43:05 -070035 api(libs.junit)
36 api(libs.kotlinStdlib)
Chris Craik22c33922019-07-25 12:33:06 -070037
Dustin Lam6cbfd012021-02-25 18:44:54 -080038 implementation("androidx.test:rules:1.3.0")
39 implementation("androidx.test:runner:1.3.0")
Chris Craikf75110b2020-11-06 08:15:24 -080040 implementation("androidx.tracing:tracing-ktx:1.0.0")
Dustin Lam79d9d242020-03-30 19:43:53 -070041 api("androidx.annotation:annotation:1.1.0")
Chris Craik22c33922019-07-25 12:33:06 -070042
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}