forked from fmeum/WearAuthn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
67 lines (58 loc) · 2.2 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
kotlinOptions {
freeCompilerArgs = ["-XXLanguage:+InlineClasses", "-Xopt-in=org.mylibrary.OptInAnnotation"]
jvmTarget = "1.8"
}
signingConfigs {
testSign {
storeFile file('../ci_keystore.jks')
storePassword 'hunter2'
keyAlias = 'key0'
keyPassword 'hunter2'
}
}
compileSdkVersion 33
defaultConfig {
applicationId "me.henneke.wearauthn.authenticator"
minSdkVersion 28
targetSdkVersion 33
versionCode makeVersionCode(minSdkVersion.apiLevel, true)
versionName makeVersionName()
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.testSign
}
debug {
minifyEnabled false
}
}
namespace 'me.henneke.wearauthn'
applicationVariants.all { variant ->
variant.resValue "string", "application_id", variant.applicationId
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//TODO: migrate to View Binding
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.annotation:annotation:1.5.0'
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.fragment:fragment-ktx:1.5.6'
implementation 'androidx.wear:wear:1.3.0-alpha04'
implementation 'com.google.android.gms:play-services-wearable:18.0.0'
implementation 'com.google.android.support:wearable:2.9.0'
compileOnly 'com.google.android.wearable:wearable:2.9.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.4'
testImplementation 'junit:junit:4.13.2'
testImplementation 'io.kotlintest:kotlintest-runner-junit5:3.4.2'
testImplementation 'org.slf4j:slf4j-nop:2.0.0-alpha1'
}