build.gradle 1.24 KB
Newer Older
Marvin W.'s avatar
Marvin W. committed
1
2
3
4
5
6
7
8
9
10
11
/*
 * SPDX-FileCopyrightText: 2020, microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

dependencies {
    api project(':play-services-location-api')

12
13
    implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"

Marvin W.'s avatar
Marvin W. committed
14
15
16
17
18
19
20
21
    implementation project(':play-services-base-core')
    implementation "org.microg.nlp:geocode-v1:$nlpVersion"
    implementation "org.microg.nlp:location-v2:$nlpVersion"
    implementation "org.microg.nlp:location-v3:$nlpVersion"
    implementation "org.microg.nlp:service:$nlpVersion"
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion"
    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion"
22
    api "org.microg.nlp:client:$nlpVersion"
Marvin W.'s avatar
Marvin W. committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
    api "org.microg.nlp:ui:$nlpVersion"
}

android {
    compileSdkVersion androidCompileSdk
    buildToolsVersion "$androidBuildVersionTools"

    defaultConfig {
        versionName version
        minSdkVersion androidMinSdk
        targetSdkVersion androidTargetSdk
    }

    compileOptions {
        sourceCompatibility = 1.8
        targetCompatibility = 1.8
    }
}