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 "com.google.android.gms.oss.licenses"
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      lintOptions {
27          disable 'MissingTranslation'
28      }
29  
30      compileOptions {
31          sourceCompatibility = 1.8
32          targetCompatibility = 1.8
33      }
34  }
35  
36  apply from: '../gradle/publish-android.gradle'
37  
38  description = 'microG implementation of play-services-oss-licenses'
39  
40  dependencies {
41      // Dependencies from play-services-oss-licenses:17.0.0
42      api "androidx.loader:loader:1.0.0"
43      api project(':play-services-base')
44      api project(':play-services-basement')
45      api project(':play-services-tasks')
46      implementation "androidx.appcompat:appcompat:1.0.0"
47  }