-
Notifications
You must be signed in to change notification settings - Fork 105
/
build.gradle
95 lines (82 loc) · 3.05 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/*
* Copyright (c) 2022 Solana Mobile Inc.
*/
plugins {
alias libs.plugins.android.application
alias libs.plugins.kotlin.android
}
android {
namespace = "com.solana.mobilewalletadapter.fakedapp"
compileSdk 34
defaultConfig {
applicationId "com.solana.mobilewalletadapter.fakedapp"
minSdk 23
targetSdk 34
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
create("release") {
// APK signing keystore configuration provided by environment variables:
// ORG_GRADLE_PROJECT_apkSigningKeystorePath
// ORG_GRADLE_PROJECT_apkSigningKeystorePassword
// ORG_GRADLE_PROJECT_apkSigningKeyAlias
// ORG_GRADLE_PROJECT_apkSigningKeyPassword
final var storePath = findProperty("apkSigningKeystorePath")
if (storePath != null) {
storeFile = file(storePath)
}
storePassword = findProperty("apkSigningKeystorePassword")
keyAlias = findProperty("apkSigningKeyAlias")
keyPassword = findProperty("apkSigningKeyPassword")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
final var releaseSigningConfig = signingConfigs["release"]
if (releaseSigningConfig.storeFile != null && releaseSigningConfig.storeFile.exists()) {
signingConfig = releaseSigningConfig
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation project(path: ':clientlib')
implementation libs.androidx.activity.ktx
implementation libs.androidx.appcompat
implementation libs.androidx.constraintlayout
implementation libs.androidx.core.ktx
implementation libs.androidx.lifecycle.runtime.ktx
implementation libs.androidx.lifecycle.viewmodel.ktx
implementation libs.material
implementation libs.bcprov.jdk18on
implementation libs.kotlinx.coroutines.android
// Testing-only dependencies
androidTestImplementation libs.kotlin.stdlib
androidTestImplementation libs.androidx.test.core
androidTestImplementation libs.core.ktx
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.junit.ktx
androidTestImplementation libs.androidx.test.runner
androidTestImplementation libs.androidx.test.espresso.core
androidTestImplementation libs.androidx.test.uiautomator
testImplementation libs.androidx.test.core
testImplementation libs.androidx.junit
testImplementation libs.junit
testImplementation libs.androidx.test.espresso.core
testImplementation libs.androidx.test.espresso.intents
testImplementation libs.androidx.test.truth
}