mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-27 21:25:49 +01:00
65 lines
1.8 KiB
Groovy
65 lines
1.8 KiB
Groovy
/*
|
|
* 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'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin: 'signing'
|
|
|
|
dependencies {
|
|
api project(':play-services-base')
|
|
|
|
// AndroidX UI
|
|
implementation "androidx.multidex:multidex:$multidexVersion"
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
|
implementation "androidx.mediarouter:mediarouter:$mediarouterVersion"
|
|
implementation "androidx.preference:preference:$preferenceVersion"
|
|
|
|
// Navigation
|
|
implementation "androidx.navigation:navigation-fragment:$navigationVersion"
|
|
implementation "androidx.navigation:navigation-ui:$navigationVersion"
|
|
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
|
|
}
|
|
}
|
|
|
|
apply from: '../gradle/publish-android.gradle'
|
|
|
|
description = 'UI for microG service implementation for play-services-base'
|