/ play-services-basement / 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  dependencies {
22      // Dependencies from play-services-basement:18.1.0
23      api "androidx.collection:collection:1.0.0"
24      api "androidx.core:core:1.2.0"
25      api "androidx.fragment:fragment:1.0.0"
26  
27      annotationProcessor project(':safe-parcel-processor')
28  }
29  
30  android {
31      namespace "com.google.android.gms.common"
32  
33      compileSdkVersion androidCompileSdk
34      buildToolsVersion "$androidBuildVersionTools"
35  
36      aidlPackagedList "com/google/android/gms/common/api/Status.aidl"
37      aidlPackagedList "com/google/android/gms/common/ConnectionResult.aidl"
38      aidlPackagedList "com/google/android/gms/common/internal/IAccountAccessor.aidl"
39      aidlPackagedList "com/google/android/gms/common/internal/ICancelToken.aidl"
40      aidlPackagedList "com/google/android/gms/common/server/FavaDiagnosticsEntity.aidl"
41      aidlPackagedList "com/google/android/gms/dynamic/IObjectWrapper.aidl"
42  
43      buildFeatures {
44          aidl = true
45          buildConfig = true
46      }
47  
48      defaultConfig {
49          versionName version
50          minSdkVersion androidMinSdk
51          targetSdkVersion androidTargetSdk
52          buildConfigField "int", "VERSION_CODE", "$appVersionCode"
53          consumerProguardFile 'consumer-rules.pro'
54      }
55  
56      compileOptions {
57          sourceCompatibility = 1.8
58          targetCompatibility = 1.8
59      }
60  }
61  
62  apply from: '../gradle/publish-android.gradle'
63  
64  description = 'microG implementation of play-services-basement'