@@ -8,20 +8,21 @@ apply plugin: 'com.android.application'
88apply plugin : ' com.google.gms.google-services'
99apply plugin : ' com.google.firebase.crashlytics'
1010
11- def VERSION_CODE = 56
12- def VERSION_NAME = ' 1.3.2 '
11+ def VERSION_CODE = 57
12+ def VERSION_NAME = ' 1.3.3 '
1313
1414android {
15- compileSdkVersion 31
16- buildToolsVersion ' 30 .0.3 '
15+ compileSdk 33
16+ buildToolsVersion ' 33 .0.0 '
1717 defaultConfig {
1818 applicationId " be.hyperrail.android"
1919 minSdkVersion 21
20- targetSdkVersion 31
20+ targetSdkVersion 33
2121 versionCode VERSION_CODE
2222 versionName VERSION_NAME
2323 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2424 multiDexEnabled true
25+ resConfigs ' en' , ' nl' , ' fr'
2526 }
2627 buildTypes {
2728 release {
@@ -35,43 +36,49 @@ android {
3536 }
3637 }
3738 compileOptions {
38- targetCompatibility 1.8
39- sourceCompatibility 1.8
39+ targetCompatibility 11
40+ sourceCompatibility 11
4041 }
41- lintOptions {
42+ lint {
4243 abortOnError false
4344 }
4445}
4546
4647dependencies {
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'
4950 implementation fileTree(include : [' *.jar' ], dir : ' libs' )
5051
51-
5252 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'
5562 implementation ' androidx.legacy:legacy-support-v4:1.0.0'
5663 implementation ' androidx.cardview:cardview:1.0.0'
5764 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 '
6269
6370 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 '
6673 // 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' , {
6875 exclude group : ' com.android.support' , module : ' support-annotations'
6976 exclude group : ' com.android.support' , module : ' support-v4'
7077 exclude group : ' com.android.support' , module : ' design'
7178 exclude group : ' com.android.support' , module : ' recyclerview-v7'
7279 }
7380
74- androidTestImplementation(' androidx.test.espresso:espresso-core:3.2 .0' , {
81+ androidTestImplementation(' androidx.test.espresso:espresso-core:3.4 .0' , {
7582 exclude group : ' com.android.support' , module : ' support-annotations'
7683 })
7784
0 commit comments