build.gradle
1 /* 2 * SPDX-FileCopyrightText: 2021 microG Project Team 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 apply plugin: 'com.android.library' 7 apply plugin: 'com.squareup.wire' 8 apply plugin: 'kotlin-android' 9 apply plugin: 'maven-publish' 10 apply plugin: 'signing' 11 12 dependencies { 13 api project(':play-services-safetynet') 14 15 implementation project(':play-services-base-core') 16 implementation project(':play-services-droidguard') 17 implementation project(':play-services-droidguard-core') 18 implementation project(':play-services-tasks-ktx') 19 20 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" 21 implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion" 22 implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion" 23 24 implementation "androidx.appcompat:appcompat:$appcompatVersion" 25 implementation "androidx.core:core-ktx:$coreVersion" 26 implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion" 27 implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion" 28 implementation "androidx.webkit:webkit:$webkitVersion" 29 30 implementation "com.android.volley:volley:$volleyVersion" 31 implementation "com.squareup.wire:wire-runtime:$wireVersion" 32 } 33 34 wire { 35 kotlin { 36 javaInterop = true 37 } 38 } 39 40 android { 41 namespace "org.microg.gms.safetynet.core" 42 43 compileSdkVersion androidCompileSdk 44 buildToolsVersion "$androidBuildVersionTools" 45 46 defaultConfig { 47 versionName version 48 minSdkVersion androidMinSdk 49 targetSdkVersion androidTargetSdk 50 } 51 52 sourceSets { 53 main.java.srcDirs += 'src/main/kotlin' 54 } 55 56 lintOptions { 57 disable 'MissingTranslation' 58 } 59 60 compileOptions { 61 sourceCompatibility = 1.8 62 targetCompatibility = 1.8 63 } 64 65 kotlinOptions { 66 jvmTarget = 1.8 67 } 68 } 69 70 apply from: '../../gradle/publish-android.gradle' 71 72 description = 'microG service implementation for play-services-safetynet'