/ play-services-base / build.gradle
build.gradle
 1  /*
 2   * Copyright 2013-2015 microG Project Team
 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   */
16  
17  apply plugin: 'com.android.library'
18  apply plugin: 'maven-publish'
19  apply plugin: 'signing'
20  
21  android {
22      namespace "com.google.android.gms.base"
23  
24      compileSdkVersion androidCompileSdk
25      buildToolsVersion "$androidBuildVersionTools"
26  
27      aidlPackagedList "com/google/android/gms/common/data/DataHolder.aidl"
28      aidlPackagedList "com/google/android/gms/common/images/WebImage.aidl"
29      aidlPackagedList "com/google/android/gms/common/api/internal/IStatusCallback.aidl"
30  
31      buildFeatures {
32          aidl = true
33      }
34  
35      defaultConfig {
36          versionName version
37          minSdkVersion androidMinSdk
38          targetSdkVersion androidTargetSdk
39      }
40  
41      compileOptions {
42          sourceCompatibility = 1.8
43          targetCompatibility = 1.8
44      }
45  }
46  
47  apply from: '../gradle/publish-android.gradle'
48  
49  description = 'microG implementation of play-services-base'
50  
51  dependencies {
52      // Dependencies from play-services-base:18.1.0
53      api "androidx.collection:collection:1.0.0"
54      api "androidx.core:core:1.2.0"
55      api "androidx.fragment:fragment:1.0.0"
56      api project(':play-services-basement')
57      api project(':play-services-tasks')
58  
59      annotationProcessor project(':safe-parcel-processor')
60  }