1/* 2 * Copyright (C) 2018 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 */ 16apply from: '../../constants.gradle' 17apply plugin: 'com.android.library' 18 19android { 20 compileSdkVersion project.ext.compileSdkVersion 21 22 compileOptions { 23 sourceCompatibility JavaVersion.VERSION_1_8 24 targetCompatibility JavaVersion.VERSION_1_8 25 } 26 27 defaultConfig { 28 minSdkVersion project.ext.minSdkVersion 29 targetSdkVersion project.ext.targetSdkVersion 30 } 31 32 testOptions.unitTests.includeAndroidResources = true 33} 34 35dependencies { 36 implementation project(modulePrefix + 'library-core') 37 implementation 'com.firebase:firebase-jobdispatcher:0.8.5' 38 compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion 39} 40 41ext { 42 javadocTitle = 'Firebase JobDispatcher extension' 43} 44apply from: '../../javadoc_library.gradle' 45 46ext { 47 releaseArtifact = 'extension-jobdispatcher' 48 releaseDescription = 'Firebase JobDispatcher extension for ExoPlayer.' 49} 50apply from: '../../publish.gradle' 51