2020-08-03 16:07:06 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020, microG Project Team
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-11-18 16:06:29 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'signing'
|
2020-08-03 16:07:06 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api project(':play-services-nearby-api')
|
|
|
|
|
|
|
|
implementation project(':play-services-base-core')
|
|
|
|
implementation project(':play-services-nearby-core-proto')
|
|
|
|
|
|
|
|
implementation "androidx.annotation:annotation:$annotationVersion"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
|
|
|
|
implementation "androidx.preference:preference:$preferenceVersion"
|
|
|
|
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion"
|
|
|
|
|
|
|
|
implementation "com.squareup.wire:wire-runtime:$wireVersion"
|
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion androidCompileSdk
|
|
|
|
buildToolsVersion "$androidBuildVersionTools"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
versionName version
|
|
|
|
minSdkVersion androidMinSdk
|
|
|
|
targetSdkVersion androidTargetSdk
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java.srcDirs = ['src/main/kotlin']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
|
|
|
}
|
2020-11-18 16:06:29 +00:00
|
|
|
|
|
|
|
apply from: '../gradle/publish-android.gradle'
|
2020-11-24 21:42:07 +00:00
|
|
|
|
|
|
|
description = 'microG service implementation for play-services-nearby'
|