@@ -2,29 +2,27 @@ apply plugin: 'com.android.application'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
4
apply plugin : ' kotlin-kapt'
5
- apply plugin : ' bivrost'
6
- apply plugin : ' io.fabric'
7
5
apply from : ' ../buildsystem/coverageReport.gradle'
8
6
9
- repositories {
10
- maven { url ' https://maven.fabric.io/public' }
11
- }
12
-
13
7
android {
14
8
defaultConfig {
15
- applicationId " pm .gnosis.heimdall "
9
+ applicationId " io .gnosis.safe "
16
10
versionCode getInt(" APP_VERSION_CODE" , 703 )
17
11
versionName getKey(" APP_VERSION_NAME" , " 0.4.2-alpha" )
18
- testInstrumentationRunner " pm .gnosis.tests.MockTestRunner"
12
+ testInstrumentationRunner " io .gnosis.tests.MockTestRunner"
19
13
20
14
// Debug Settings
21
15
buildConfigField javaTypes. BOOLEAN , " VERBOSE_EXCEPTIONS" , getKey(" VERBOSE_EXCEPTIONS" , " false" )
22
16
buildConfigField javaTypes. BOOLEAN , " ALLOW_RESTRICTED_TX" , getKey(" ALLOW_RESTRICTED_TX" , " false" )
23
17
// Contracts
24
- buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_0_0_2" , asString(getKey(" SAFE_MASTER_COPY_0_0_2" , " 0xAC6072986E985aaBE7804695EC2d8970Cf7541A2" )) // Version 0.0.2-alpha (Mainnet)
25
- buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_0_1_0" , asString(getKey(" SAFE_MASTER_COPY_0_1_0" , " 0x8942595A2dC5181Df0465AF0D7be08c8f23C93af" )) // Version 0.1.0 (All networks)
26
- buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_1_0_0" , asString(getKey(" SAFE_MASTER_COPY_1_0_0" , " 0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A" )) // Version 1.0.0 (All networks)
27
- buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_1_1_1" , asString(getKey(" SAFE_MASTER_COPY_1_1_1" , " 0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F" )) // Version 1.1.1 (All networks)
18
+ buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_0_0_2" , asString(getKey(" SAFE_MASTER_COPY_0_0_2" , " 0xAC6072986E985aaBE7804695EC2d8970Cf7541A2" ))
19
+ // Version 0.0.2-alpha (Mainnet)
20
+ buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_0_1_0" , asString(getKey(" SAFE_MASTER_COPY_0_1_0" , " 0x8942595A2dC5181Df0465AF0D7be08c8f23C93af" ))
21
+ // Version 0.1.0 (All networks)
22
+ buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_1_0_0" , asString(getKey(" SAFE_MASTER_COPY_1_0_0" , " 0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A" ))
23
+ // Version 1.0.0 (All networks)
24
+ buildConfigField javaTypes. STRING , " SAFE_MASTER_COPY_1_1_1" , asString(getKey(" SAFE_MASTER_COPY_1_1_1" , " 0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F" ))
25
+ // Version 1.1.1 (All networks)
28
26
buildConfigField javaTypes. STRING , " PROXY_FACTORY_ADDRESS" , asString(getKey(" PROXY_FACTORY_ADDRESS" , " 0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B" ))
29
27
buildConfigField javaTypes. STRING , " MULTI_SEND_OLD_ADDRESS" , asString(getKey(" MULTI_SEND_ADDRESS" , " 0xe74d6af1670fb6560dd61ee29eb57c7bc027ce4e" ))
30
28
buildConfigField javaTypes. STRING , " MULTI_SEND_ADDRESS" , asString(getKey(" MULTI_SEND_ADDRESS" , " 0x8D29bE29923b68abfDD21e541b9374737B49cdAD" ))
@@ -56,7 +54,6 @@ android {
56
54
57
55
project. ext. set(" archivesBaseName" , String . format(" gnosis-safe-%s" , defaultConfig. versionCode))
58
56
59
- ext. betaDistributionGroupAliases = System . getenv(" FABRIC_GROUP_INTERNAL_BETA" )
60
57
ext. betaDistributionReleaseNotes = System . getenv(" APP_RELEASE_NOTES" )
61
58
62
59
javaCompileOptions {
@@ -130,7 +127,6 @@ android {
130
127
}
131
128
132
129
packagingOptions {
133
- exclude ' META-INF/rxjava.properties'
134
130
exclude ' META-INF/extensions.kotlin_module'
135
131
exclude ' META-INF/LICENSE'
136
132
}
@@ -166,6 +162,7 @@ dependencies {
166
162
testImplementation " junit:junit:$versions . junit "
167
163
168
164
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
165
+ implementation project(" :data" )
169
166
170
167
// Gnosis Svalinn
171
168
implementation " com.github.gnosis.svalinn-kotlin:accounts-base:$versions . svalinn "
@@ -187,46 +184,19 @@ dependencies {
187
184
implementation " com.github.gnosis.svalinn-kotlin:security:$versions . svalinn "
188
185
implementation " com.github.gnosis.svalinn-kotlin:utils:$versions . svalinn "
189
186
190
- // Gnosis Bivrost
191
- implementation " com.github.gnosis.bivrost-kotlin:bivrost-solidity-types:$versions . bivrost "
192
-
193
- // Fabric
194
- implementation(" com.crashlytics.sdk.android:crashlytics:$versions . crashlytics @aar" ) {
195
- transitive = true
196
- }
197
-
198
- // Kethereum RLP
199
- implementation " com.github.walleth.kethereum:rlp:$versions . kethereum "
200
-
201
- // Wallet Connect
202
- implementation " com.github.WalletConnect:kotlin-walletconnect-lib:$versions . wallet_connect "
203
-
204
187
// AndroidX
205
188
implementation " androidx.appcompat:appcompat:$versions . androidx_app_compat "
206
- implementation " androidx.cardview:cardview:$versions . androidx_card_view "
207
189
implementation " androidx.recyclerview:recyclerview:$versions . androidx_recycler_view "
208
190
implementation " androidx.constraintlayout:constraintlayout:$versions . androidx_constraint_layout "
209
191
implementation " androidx.lifecycle:lifecycle-common-java8:$versions . androidx_lifecycle "
210
192
implementation " androidx.lifecycle:lifecycle-extensions:$versions . androidx_lifecycle "
211
193
kapt " androidx.room:room-compiler:$versions . androidx_room "
212
194
implementation " androidx.room:room-runtime:$versions . androidx_room "
213
- implementation " androidx.room:room-rxjava2:$versions . androidx_room "
214
195
implementation " androidx.multidex:multidex:$versions . multidex "
215
196
216
197
// Google Material
217
198
implementation " com.google.android.material:material:$versions . material "
218
199
219
- // Rx
220
- implementation " io.reactivex.rxjava2:rxjava:$versions . rxjava "
221
- implementation " io.reactivex.rxjava2:rxkotlin:$versions . rxkotlin "
222
- implementation " com.gojuno.koptional:koptional:$versions . koptional "
223
- implementation " io.reactivex.rxjava2:rxandroid:$versions . rxandroid "
224
-
225
- // Firebase
226
- implementation " com.google.firebase:firebase-analytics:$versions . firebase_analytics "
227
- implementation " com.google.firebase:firebase-messaging:$versions . firebase_messaging "
228
- implementation " com.google.android.gms:play-services-auth:$versions . play_services_auth "
229
-
230
200
// String formatting
231
201
implementation " com.squareup.phrase:phrase:$versions . phrase "
232
202
@@ -243,46 +213,21 @@ dependencies {
243
213
implementation(" com.squareup.retrofit2:converter-moshi:$versions . retrofit " ) {
244
214
exclude group : " com.squareup.moshi" , module : " moshi"
245
215
}
246
- implementation " com.squareup.retrofit2:adapter-rxjava2:$versions . retrofit "
247
216
248
217
// Logging
249
218
implementation " com.jakewharton.timber:timber:$versions . timber "
250
219
implementation " com.squareup.okhttp3:logging-interceptor:$versions . okhttp "
251
220
252
- // RxBinding
253
- implementation(" com.jakewharton.rxbinding2:rxbinding-kotlin:$versions . rxbinding " ) {
254
- exclude group : " io.reactivex.rxjava2" , module : " rxandroid"
255
- }
256
- implementation(" com.jakewharton.rxbinding2:rxbinding-support-v4-kotlin:$versions . rxbinding " ) {
257
- exclude group : " io.reactivex.rxjava2" , module : " rxandroid"
258
- }
259
- implementation(" com.jakewharton.rxbinding2:rxbinding-recyclerview-v7-kotlin:$versions . rxbinding " ) {
260
- exclude group : " io.reactivex.rxjava2" , module : " rxandroid"
261
- }
262
- implementation(" com.jakewharton.rxbinding2:rxbinding-appcompat-v7-kotlin:$versions . rxbinding " ) {
263
- exclude group : " io.reactivex.rxjava2" , module : " rxandroid"
264
- }
265
- implementation(" com.jakewharton.rxbinding2:rxbinding-design-kotlin:$versions . rxbinding " ) {
266
- exclude group : " io.reactivex.rxjava2" , module : " rxandroid"
267
- }
268
-
269
221
implementation " com.squareup.picasso:picasso:$versions . picasso "
270
222
271
223
// More
272
- implementation " com.github.status-im.status-keycard-java:android:$versions . status_keycard "
273
- implementation " com.google.zxing:core:$versions . zxing "
274
- implementation " com.github.clans:fab:$versions . floating_action_button "
275
- implementation(" me.zhanghai.android.materialprogressbar:library:$versions . material_progressbar " ) {
276
- exclude group : ' com.android.support' , module : ' appcompat-v7'
277
- }
278
224
implementation(" org.bouncycastle:bcprov-jdk15on:$versions . bouncycastle " , {
279
225
exclude group : ' junit' , module : ' junit'
280
226
})
281
227
282
228
// Coroutines
283
229
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions . kotlinx_coroutines "
284
230
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions . kotlinx_coroutines "
285
- implementation " org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$versions . kotlinx_coroutines "
286
231
implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:$versions . androidx_lifecycle "
287
232
implementation " androidx.lifecycle:lifecycle-livedata-ktx:$versions . androidx_lifecycle "
288
233
implementation " androidx.lifecycle:lifecycle-runtime-ktx:$versions . androidx_lifecycle "
@@ -316,5 +261,3 @@ dependencies {
316
261
tasks. withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile ). all {
317
262
kotlinOptions. freeCompilerArgs + = [" -Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi" ]
318
263
}
319
-
320
- apply plugin : ' com.google.gms.google-services'
0 commit comments