57 lines
1.2 KiB
Groovy
57 lines
1.2 KiB
Groovy
|
|
/*
|
||
|
|
* SPDX-FileCopyrightText: 2022 microG Project Team
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
apply plugin: 'com.android.library'
|
||
|
|
apply plugin: 'kotlin-android'
|
||
|
|
apply plugin: 'maven-publish'
|
||
|
|
apply plugin: 'signing'
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation project(':play-services-base-core')
|
||
|
|
|
||
|
|
implementation project(':play-services-location')
|
||
|
|
implementation project(':play-services-wearable')
|
||
|
|
|
||
|
|
implementation "org.microg:wearable:$wearableVersion"
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace "org.microg.gms.wearable.core"
|
||
|
|
|
||
|
|
compileSdkVersion androidCompileSdk
|
||
|
|
buildToolsVersion "$androidBuildVersionTools"
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
versionName version
|
||
|
|
minSdkVersion androidMinSdk
|
||
|
|
targetSdkVersion androidTargetSdk
|
||
|
|
}
|
||
|
|
|
||
|
|
buildFeatures {
|
||
|
|
dataBinding = true
|
||
|
|
}
|
||
|
|
|
||
|
|
sourceSets {
|
||
|
|
main.java.srcDirs += 'src/main/kotlin'
|
||
|
|
}
|
||
|
|
|
||
|
|
lintOptions {
|
||
|
|
disable 'MissingTranslation'
|
||
|
|
}
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility = 1.8
|
||
|
|
targetCompatibility = 1.8
|
||
|
|
}
|
||
|
|
|
||
|
|
kotlinOptions {
|
||
|
|
jvmTarget = 1.8
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
apply from: '../../gradle/publish-android.gradle'
|
||
|
|
|
||
|
|
description = 'microG service implementation for play-services-wearable'
|