/ play-services-recaptcha / core / build.gradle
build.gradle
 1  /*
 2   * SPDX-FileCopyrightText: 2022 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      implementation project(':play-services-base-core')
14      implementation project(':play-services-droidguard-core')
15      implementation project(':play-services-safetynet-core')
16      implementation project(':play-services-recaptcha')
17      implementation project(':play-services-tasks-ktx')
18  
19      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
20      implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion"
21      implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion"
22  
23      implementation "androidx.core:core-ktx:$coreVersion"
24      implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
25      implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
26      implementation "androidx.webkit:webkit:$webkitVersion"
27  
28      implementation "com.android.volley:volley:$volleyVersion"
29      implementation "com.squareup.wire:wire-runtime:$wireVersion"
30  }
31  
32  wire {
33      kotlin {}
34  }
35  
36  android {
37      namespace "org.microg.gms.recaptcha.core"
38  
39      compileSdkVersion androidCompileSdk
40      buildToolsVersion "$androidBuildVersionTools"
41  
42      defaultConfig {
43          versionName version
44          minSdkVersion androidMinSdk
45          targetSdkVersion androidTargetSdk
46      }
47  
48      sourceSets {
49          main.java.srcDirs += 'src/main/kotlin'
50      }
51  
52      lintOptions {
53          disable 'MissingTranslation'
54      }
55  
56      compileOptions {
57          sourceCompatibility = 1.8
58          targetCompatibility = 1.8
59      }
60  
61      kotlinOptions {
62          jvmTarget = 1.8
63      }
64  }
65  
66  apply from: '../../gradle/publish-android.gradle'
67  
68  description = 'microG service implementation for play-services-recaptcha'