build.gradle
 1  /*
 2   * SPDX-FileCopyrightText: 2022 microG Project Team
 3   * SPDX-License-Identifier: Apache-2.0
 4   */
 5  
 6  apply plugin: 'com.android.library'
 7  apply plugin: 'maven-publish'
 8  apply plugin: 'signing'
 9  
10  android {
11      namespace "org.microg.gms.gmscompliance.api"
12  
13      compileSdkVersion androidCompileSdk
14      buildToolsVersion "$androidBuildVersionTools"
15  
16      buildFeatures {
17          aidl = true
18      }
19  
20      defaultConfig {
21          versionName version
22          minSdkVersion androidMinSdk
23          targetSdkVersion androidTargetSdk
24      }
25  
26      compileOptions {
27          sourceCompatibility = 1.8
28          targetCompatibility = 1.8
29      }
30  }
31  
32  apply from: '../gradle/publish-android.gradle'
33  
34  description = 'microG API for play-services-gmscompliance'
35  
36  dependencies {
37      api project(':play-services-base')
38  
39      implementation "androidx.annotation:annotation:$annotationVersion"
40  }