• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 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.
14project.ext {
15    // ExoPlayer version and version code.
16    releaseVersion = '2.11.4'
17    releaseVersionCode = 2011004
18    minSdkVersion = 16
19    appTargetSdkVersion = 29
20    targetSdkVersion = 28 // TODO: Bump once b/143232359 is resolved. Also fix TODOs in UtilTest.
21    compileSdkVersion = 29
22    dexmakerVersion = '2.21.0'
23    junitVersion = '4.13-rc-2'
24    guavaVersion = '28.2-android'
25    mockitoVersion = '2.25.0'
26    robolectricVersion = '4.3.1'
27    checkerframeworkVersion = '2.5.0'
28    jsr305Version = '3.0.2'
29    kotlinAnnotationsVersion = '1.3.70'
30    androidxAnnotationVersion = '1.1.0'
31    androidxAppCompatVersion = '1.1.0'
32    androidxCollectionVersion = '1.1.0'
33    androidxMediaVersion = '1.0.1'
34    androidxTestCoreVersion = '1.2.0'
35    androidxTestJUnitVersion = '1.1.1'
36    androidxTestRunnerVersion = '1.2.0'
37    androidxTestRulesVersion = '1.2.0'
38    truthVersion = '1.0'
39    modulePrefix = ':'
40    if (gradle.ext.has('exoplayerModulePrefix')) {
41        modulePrefix += gradle.ext.exoplayerModulePrefix
42    }
43}
44