
These TODOs precede <unknown commit> when the group was set in the top-level `build.gradle` file. Issue: androidx/media#1215 PiperOrigin-RevId: 618835040
54 lines
2.3 KiB
Groovy
54 lines
2.3 KiB
Groovy
// Copyright 2021 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
apply from: "$gradle.ext.androidxMediaSettingsDir/constants.gradle"
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace 'androidx.media3.test.session'
|
|
|
|
compileSdkVersion project.ext.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
versionName project.ext.releaseVersion
|
|
versionCode project.ext.releaseVersionCode
|
|
minSdkVersion project.ext.minSdkVersion
|
|
targetSdkVersion project.ext.appTargetSdkVersion
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
sourceSets.main.assets.srcDir '../test_data/src/test/assets/'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(modulePrefix + 'lib-session')
|
|
implementation project(modulePrefix + 'test-session-common')
|
|
implementation project(modulePrefix + 'test-data')
|
|
implementation 'androidx.media:media:' + androidxMediaVersion
|
|
implementation 'androidx.multidex:multidex:' + androidxMultidexVersion
|
|
implementation 'androidx.test:core:' + androidxTestCoreVersion
|
|
implementation project(modulePrefix + 'test-data')
|
|
androidTestImplementation project(modulePrefix + 'lib-exoplayer')
|
|
androidTestImplementation project(modulePrefix + 'test-utils')
|
|
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
|
androidTestImplementation 'androidx.test.ext:truth:' + androidxTestTruthVersion
|
|
androidTestImplementation 'androidx.test:core:' + androidxTestCoreVersion
|
|
androidTestImplementation 'androidx.test:rules:' + androidxTestRulesVersion
|
|
androidTestImplementation 'androidx.test:runner:' + androidxTestRunnerVersion
|
|
}
|