// Copyright (C) 2017 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.
project.ext {
    // ExoPlayer version and version code.
    releaseVersion = '2.10.6'
    releaseVersionCode = 2010006
    // MOD: fix unmatched minSdk between exo and sharedutils
    // minSdkVersion = 16
    // targetSdkVersion = 28
    // compileSdkVersion = 28
    minSdkVersion = project.properties.minSdkVersion
    targetSdkVersion = project.properties.targetSdkVersion
    compileSdkVersion = project.properties.compileSdkVersion
    // dexmakerVersion = '2.21.0' // absent in mavenCentral
    dexmakerVersion = '2.28.3'
    mockitoVersion = '2.25.0'
    // MOD: use versions from sharedutils
    // robolectricVersion = '4.2'
    robolectricVersion = project.properties.robolectricVersion
    annotationXLibraryVersion = project.properties.annotationXLibraryVersion
    autoValueVersion = '1.6'
    checkerframeworkVersion = '2.5.0'
    // MOD: use versions from sharedutils
    // androidXTestVersion = '1.1.0'
    //protobufVersion = '4.32.1'
    protobufVersion = '3.17.3' // the latest for Android 4
    androidXTestVersion = project.properties.testXSupportLibraryVersion
    modulePrefix = ':'
    if (gradle.ext.has('exoplayerModulePrefix')) {
        modulePrefix += gradle.ext.exoplayerModulePrefix
    }
}
