Skip to content

Commit 1f983f7

Browse files
authored
Merge pull request #43 from bkhezry/update-libraries
Update libraries
2 parents b4a6122 + 30e5f8a commit 1f983f7

7 files changed

+43
-27
lines changed

.idea/deploymentTargetSelector.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/git_toolbox_blame.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README-FA.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
<p align="center"><img src="assets/screenshot-1-fa.png" /></p>
44

55
**نیازمندی‌ها**
6-
- Android Studio 3.5 beta 2
7-
- JDK 8
8-
- Android SDK 28
6+
7+
- Android Studio last version
8+
- JDK 17
9+
- Android SDK 34
910
- Supports API Level +17
10-
- Material Components 1.1.0-alpha05
11+
- Material Components 1.12.0
1112

1213
**ویژگی‌ها**
1314
- Use [OpenWeatherMap] API
1415
- Use Material Design 2
16+
- Dark Mode
1517
- Support two language. English & Persian
1618
- Use locale Database
1719

@@ -32,7 +34,6 @@
3234
- [MaterialSearchView]: Cute library to implement SearchView in a Material Design Approach
3335
- [MPAndroidChart]: A powerful & easy to use chart library for Android
3436
- [Firebase Core] / Crashlytics
35-
- [ButterKnife]: Bind Android views and callbacks to fields and methods.
3637

3738
**Credit**
3839

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- JDK 17
1010
- Android SDK 34
1111
- Supports API Level +21
12-
- Material Components 1.10.0
12+
- Material Components 1.12.0
1313

1414
**Highlights**
1515
- Use [OpenWeatherMap] API
@@ -75,5 +75,4 @@
7575
[MaterialSearchView]: https://github.com/MiguelCatalan/MaterialSearchView
7676
[MPAndroidChart]: https://github.com/PhilJay/MPAndroidChart
7777
[Firebase Core]: https://firebase.google.com/
78-
[ButterKnife]: https://github.com/JakeWharton/butterknife
7978
[Release]: https://github.com/bkhezry/weather/releases

app/build.gradle

+15-15
Original file line numberDiff line numberDiff line change
@@ -43,47 +43,47 @@ android {
4343

4444
dependencies {
4545
implementation fileTree(dir: 'libs', include: ['*.jar'])
46-
implementation 'androidx.appcompat:appcompat:1.6.1'
46+
implementation 'androidx.appcompat:appcompat:1.7.0'
4747
implementation 'androidx.recyclerview:recyclerview:1.3.2'
48-
implementation 'com.google.android.material:material:1.10.0'
48+
implementation 'com.google.android.material:material:1.12.0'
4949
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
5050
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
5151
testImplementation 'junit:junit:4.13.2'
52-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
53-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
52+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
53+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
5454

55-
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
56-
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
55+
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
56+
implementation 'com.squareup.retrofit2:converter-gson:2.11.0'
5757
//use in development
58-
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2'
58+
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.14'
5959

6060
// RxJava
6161
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
6262
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
6363

64-
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
64+
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.11.0'
6565

6666
implementation 'com.mikepenz:fastadapter:3.3.1'
6767

68-
implementation 'com.github.bumptech.glide:glide:4.12.0'
68+
implementation 'com.github.bumptech.glide:glide:4.16.0'
6969

70-
implementation 'com.airbnb.android:lottie:4.2.0'
70+
implementation 'com.airbnb.android:lottie:6.5.2'
7171
implementation 'com.github.bkhezry:MaterialSearchView:1.6.0'
7272
implementation 'com.github.bkhezry:prefser:v2.2.1-rx2'
7373
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
7474

75-
implementation 'io.github.inflationx:viewpump:2.0.3'
75+
implementation 'io.github.inflationx:viewpump:2.1.1'
7676
implementation 'io.github.inflationx:calligraphy3:3.1.1'
7777

7878
// Add the Firebase Crashlytics SDK.
79-
implementation 'com.google.firebase:firebase-crashlytics:18.6.0'
79+
implementation 'com.google.firebase:firebase-crashlytics:19.2.0'
8080
// Recommended: Add the Google Analytics SDK.
81-
implementation 'com.google.firebase:firebase-analytics:21.5.0'
81+
implementation 'com.google.firebase:firebase-analytics:22.1.2'
8282

8383
}
84-
android.applicationVariants.all { variant ->
84+
android.applicationVariants.configureEach { variant ->
8585
def appName = "Weather"
86-
variant.outputs.all { output ->
86+
variant.outputs.configureEach { output ->
8787
def newApkName
8888
newApkName = "${appName}-${output.baseName}-${variant.versionName}.apk"
8989
output.outputFileName = new File(newApkName)

build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ buildscript {
88

99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:8.2.0'
11+
classpath 'com.android.tools.build:gradle:8.6.1'
1212
classpath("io.objectbox:objectbox-gradle-plugin:$objectboxVersion")
13-
classpath 'com.google.gms:google-services:4.4.0'
13+
classpath 'com.google.gms:google-services:4.4.2'
1414
// Add the Firebase Crashlytics Gradle plugin.
15-
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
15+
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
1616
// NOTE: Do not place your application dependencies here; they belong
1717
// in the individual module build.gradle files
1818
}
@@ -27,6 +27,6 @@ allprojects {
2727
}
2828
}
2929

30-
task clean(type: Delete) {
30+
tasks.register('clean', Delete) {
3131
delete rootProject.buildDir
3232
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)