2020-10-07 16:14:41 +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-kapt'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-11-18 16:06:29 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'signing'
|
2020-10-07 16:14:41 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':play-services-nearby-core')
|
|
|
|
implementation project(':play-services-base-core-ui')
|
|
|
|
|
|
|
|
implementation "com.diogobernardino:williamchart:3.7.1"
|
|
|
|
|
|
|
|
// AndroidX UI
|
|
|
|
implementation "androidx.multidex:multidex:$multidexVersion"
|
|
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
2020-11-18 16:06:29 +00:00
|
|
|
implementation "androidx.preference:preference-ktx:$preferenceVersion"
|
2020-10-07 16:14:41 +00:00
|
|
|
|
|
|
|
// Navigation
|
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
|
|
|
|
implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion"
|
|
|
|
|
|
|
|
implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion androidCompileSdk
|
|
|
|
buildToolsVersion "$androidBuildVersionTools"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
versionName version
|
|
|
|
minSdkVersion androidMinSdk
|
|
|
|
targetSdkVersion androidTargetSdk
|
|
|
|
}
|
|
|
|
|
|
|
|
dataBinding {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java.srcDirs = ['src/main/kotlin']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
2020-10-17 20:43:55 +00:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = 1.8
|
|
|
|
}
|
2020-10-07 16:14:41 +00:00
|
|
|
}
|
2020-11-18 16:06:29 +00:00
|
|
|
|
|
|
|
apply from: '../gradle/publish-android.gradle'
|
2020-11-24 21:42:07 +00:00
|
|
|
|
|
|
|
description = 'UI for microG service implementation for play-services-nearby'
|