1// Copyright (C) 2017 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14apply from: "$gradle.ext.exoplayerSettingsDir/common_library_config.gradle" 15 16dependencies { 17 api 'org.mockito:mockito-core:' + mockitoVersion 18 api 'androidx.test:core:' + androidxTestCoreVersion 19 api 'androidx.test.ext:junit:' + androidxTestJUnitVersion 20 api 'androidx.test.ext:truth:' + androidxTestTruthVersion 21 api 'junit:junit:' + junitVersion 22 api 'com.google.truth:truth:' + truthVersion 23 compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion 24 compileOnly 'org.checkerframework:checker-compat-qual:' + checkerframeworkCompatVersion 25 compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion 26 implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion 27 implementation 'com.squareup.okhttp3:mockwebserver:' + okhttpVersion 28 implementation project(modulePrefix + 'library-core') 29 testImplementation 'org.robolectric:robolectric:' + robolectricVersion 30} 31 32ext { 33 javadocTitle = 'Test utils' 34} 35apply from: '../javadoc_library.gradle' 36 37ext { 38 releaseArtifactId = 'exoplayer-testutils' 39 releaseDescription = 'Test utils for ExoPlayer.' 40} 41apply from: '../publish.gradle' 42