Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libraries #43

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/git_toolbox_blame.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions README-FA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
<p align="center"><img src="assets/screenshot-1-fa.png" /></p>

**نیازمندی‌ها**
- Android Studio 3.5 beta 2
- JDK 8
- Android SDK 28

- Android Studio last version
- JDK 17
- Android SDK 34
- Supports API Level +17
- Material Components 1.1.0-alpha05
- Material Components 1.12.0

**ویژگی‌ها**
- Use [OpenWeatherMap] API
- Use Material Design 2
- Dark Mode
- Support two language. English & Persian
- Use locale Database

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

**Credit**

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- JDK 17
- Android SDK 34
- Supports API Level +21
- Material Components 1.10.0
- Material Components 1.12.0

**Highlights**
- Use [OpenWeatherMap] API
Expand Down Expand Up @@ -75,5 +75,4 @@
[MaterialSearchView]: https://github.com/MiguelCatalan/MaterialSearchView
[MPAndroidChart]: https://github.com/PhilJay/MPAndroidChart
[Firebase Core]: https://firebase.google.com/
[ButterKnife]: https://github.com/JakeWharton/butterknife
[Release]: https://github.com/bkhezry/weather/releases
30 changes: 15 additions & 15 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,47 +43,47 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'com.google.android.material:material:1.10.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'

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

// RxJava
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'

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

implementation 'com.mikepenz:fastadapter:3.3.1'

implementation 'com.github.bumptech.glide:glide:4.12.0'
implementation 'com.github.bumptech.glide:glide:4.16.0'

implementation 'com.airbnb.android:lottie:4.2.0'
implementation 'com.airbnb.android:lottie:6.5.2'
implementation 'com.github.bkhezry:MaterialSearchView:1.6.0'
implementation 'com.github.bkhezry:prefser:v2.2.1-rx2'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'

implementation 'io.github.inflationx:viewpump:2.0.3'
implementation 'io.github.inflationx:viewpump:2.1.1'
implementation 'io.github.inflationx:calligraphy3:3.1.1'

// Add the Firebase Crashlytics SDK.
implementation 'com.google.firebase:firebase-crashlytics:18.6.0'
implementation 'com.google.firebase:firebase-crashlytics:19.2.0'
// Recommended: Add the Google Analytics SDK.
implementation 'com.google.firebase:firebase-analytics:21.5.0'
implementation 'com.google.firebase:firebase-analytics:22.1.2'

}
android.applicationVariants.all { variant ->
android.applicationVariants.configureEach { variant ->
def appName = "Weather"
variant.outputs.all { output ->
variant.outputs.configureEach { output ->
def newApkName
newApkName = "${appName}-${output.baseName}-${variant.versionName}.apk"
output.outputFileName = new File(newApkName)
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.0'
classpath 'com.android.tools.build:gradle:8.6.1'
classpath("io.objectbox:objectbox-gradle-plugin:$objectboxVersion")
classpath 'com.google.gms:google-services:4.4.0'
classpath 'com.google.gms:google-services:4.4.2'
// Add the Firebase Crashlytics Gradle plugin.
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -27,6 +27,6 @@ allprojects {
}
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading