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: 'kotlin-android' 8 apply plugin: 'maven-publish' 9 apply plugin: 'signing' 10 11 dependencies { 12 implementation project(':play-services-base-core') 13 14 implementation project(':play-services-location') 15 implementation project(':play-services-wearable') 16 17 implementation "org.microg:wearable:$wearableVersion" 18 } 19 20 android { 21 namespace "org.microg.gms.wearable.core" 22 23 compileSdkVersion androidCompileSdk 24 buildToolsVersion "$androidBuildVersionTools" 25 26 defaultConfig { 27 versionName version 28 minSdkVersion androidMinSdk 29 targetSdkVersion androidTargetSdk 30 } 31 32 buildFeatures { 33 dataBinding = true 34 } 35 36 sourceSets { 37 main.java.srcDirs += 'src/main/kotlin' 38 } 39 40 lintOptions { 41 disable 'MissingTranslation' 42 } 43 44 compileOptions { 45 sourceCompatibility = 1.8 46 targetCompatibility = 1.8 47 } 48 49 kotlinOptions { 50 jvmTarget = 1.8 51 } 52 } 53 54 apply from: '../../gradle/publish-android.gradle' 55 56 description = 'microG service implementation for play-services-wearable'