@@ -8,20 +8,21 @@ apply plugin: 'com.android.application'
8
8
apply plugin : ' com.google.gms.google-services'
9
9
apply plugin : ' com.google.firebase.crashlytics'
10
10
11
- def VERSION_CODE = 56
12
- def VERSION_NAME = ' 1.3.2 '
11
+ def VERSION_CODE = 57
12
+ def VERSION_NAME = ' 1.3.3 '
13
13
14
14
android {
15
- compileSdkVersion 31
16
- buildToolsVersion ' 30 .0.3 '
15
+ compileSdk 33
16
+ buildToolsVersion ' 33 .0.0 '
17
17
defaultConfig {
18
18
applicationId " be.hyperrail.android"
19
19
minSdkVersion 21
20
- targetSdkVersion 31
20
+ targetSdkVersion 33
21
21
versionCode VERSION_CODE
22
22
versionName VERSION_NAME
23
23
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
24
24
multiDexEnabled true
25
+ resConfigs ' en' , ' nl' , ' fr'
25
26
}
26
27
buildTypes {
27
28
release {
@@ -35,43 +36,49 @@ android {
35
36
}
36
37
}
37
38
compileOptions {
38
- targetCompatibility 1.8
39
- sourceCompatibility 1.8
39
+ targetCompatibility 11
40
+ sourceCompatibility 11
40
41
}
41
- lintOptions {
42
+ lint {
42
43
abortOnError false
43
44
}
44
45
}
45
46
46
47
dependencies {
47
- implementation ' androidx.constraintlayout:constraintlayout:2.1.2 '
48
- implementation ' com.google.android.gms:play-services-maps:18.0 .0'
48
+ implementation ' androidx.constraintlayout:constraintlayout:2.1.4 '
49
+ implementation ' com.google.android.gms:play-services-maps:18.1 .0'
49
50
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
50
51
51
-
52
52
implementation ' com.android.volley:volley:1.2.1@aar'
53
- implementation ' joda-time:joda-time:2.10.3'
54
- implementation ' androidx.appcompat:appcompat:1.4.0'
53
+ implementation ' joda-time:joda-time:2.11.0'
54
+ implementation ' com.squareup.picasso:picasso:2.71828'
55
+
56
+ def lifecycle_version = " 2.5.1"
57
+ // Force the same lifecycle-viewmodel for kotlin and java.
58
+ implementation " androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version "
59
+ implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version "
60
+
61
+ implementation ' androidx.appcompat:appcompat:1.5.1'
55
62
implementation ' androidx.legacy:legacy-support-v4:1.0.0'
56
63
implementation ' androidx.cardview:cardview:1.0.0'
57
64
implementation ' androidx.recyclerview:recyclerview:1.2.1'
58
- implementation ' com.google.android.material:material :1.4 .0'
59
- implementation ' com.google.android.gms:play-services-location:18.0.0 '
60
- implementation ' com.squareup.picasso:picasso:2.71828 '
61
- implementation ' com.google.firebase:firebase-crashlytics:18.2.5 '
65
+ implementation ' androidx.preference:preference :1.2 .0'
66
+ implementation ' com.google.android.material:material:1.6.1 '
67
+ implementation ' com.google.android.gms:play-services-location:20.0.0 '
68
+ implementation ' com.google.firebase:firebase-crashlytics:18.2.13 '
62
69
63
70
testImplementation ' junit:junit:4.13.2'
64
- testImplementation ' org.json:json:20200518 '
65
- testImplementation " org.mockito:mockito-core:2.18.3 "
71
+ testImplementation ' org.json:json:20220320 '
72
+ testImplementation ' org.mockito:mockito-core:4.7.0 '
66
73
// org.json is included with Android, but Android.jar can not be used from unit tests
67
- androidTestImplementation ' androidx.test.espresso:espresso-contrib:3.2 .0' , {
74
+ androidTestImplementation ' androidx.test.espresso:espresso-contrib:3.4 .0' , {
68
75
exclude group : ' com.android.support' , module : ' support-annotations'
69
76
exclude group : ' com.android.support' , module : ' support-v4'
70
77
exclude group : ' com.android.support' , module : ' design'
71
78
exclude group : ' com.android.support' , module : ' recyclerview-v7'
72
79
}
73
80
74
- androidTestImplementation(' androidx.test.espresso:espresso-core:3.2 .0' , {
81
+ androidTestImplementation(' androidx.test.espresso:espresso-core:3.4 .0' , {
75
82
exclude group : ' com.android.support' , module : ' support-annotations'
76
83
})
77
84
0 commit comments