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 all dependencies #69

Open
wants to merge 3 commits into
base: try_mvi
Choose a base branch
from
Open
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
43 changes: 22 additions & 21 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ if (localProperties['PLACE_API_KEY'] == null) {
}

android {
compileSdkVersion 33
namespace 'com.hoc.weatherapp'
compileSdkVersion 34
defaultConfig {
applicationId "com.hoc.weatherapp"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down Expand Up @@ -66,32 +67,32 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')

// androidx
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.preference:preference-ktx:1.2.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.palette:palette-ktx:1.0.0'
implementation "androidx.startup:startup-runtime:1.1.1"

implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'

// google material
implementation 'com.google.android.material:material:1.6.1'
implementation 'com.google.android.material:material:1.12.0'

// play services
implementation 'com.google.android.gms:play-services-location:20.0.0'
implementation 'com.google.android.libraries.places:places:2.6.0'
implementation 'com.google.android.libraries.places:places:2.7.0'

// room persistence
final roomVersion = '2.4.3'
final roomVersion = '2.6.1'
implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
implementation "androidx.room:room-rxjava2:$roomVersion"

// work manager
final workVersion = '2.7.1'
final workVersion = '2.9.0'
implementation "androidx.work:work-runtime-ktx:$workVersion"
implementation "androidx.work:work-rxjava2:$workVersion"

Expand All @@ -100,15 +101,15 @@ dependencies {
implementation("com.hannesdorfmann.mosby3:mvi:$mosbyVersion")

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

// retrofit, moshi
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-moshi:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
implementation 'com.squareup.moshi:moshi-kotlin:1.14.0'
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
implementation 'com.squareup.retrofit2:converter-moshi:2.11.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.11.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
implementation 'com.squareup.moshi:moshi-kotlin:1.15.1'

// rxkotlin & rxandroid
implementation 'io.reactivex.rxjava2:rxkotlin:2.4.0'
Expand All @@ -118,19 +119,19 @@ dependencies {
// rxbinding & threetenabp
implementation 'com.jakewharton.rxbinding3:rxbinding:3.1.0'
implementation 'com.jakewharton.rxbinding3:rxbinding-swiperefreshlayout:3.1.0'
implementation 'com.jakewharton.threetenabp:threetenabp:1.4.2'
implementation 'com.jakewharton.threetenabp:threetenabp:1.4.7'

// koin
final koinVersion= "3.2.2"
final koinVersion= "3.5.6"
implementation "io.insert-koin:koin-core:$koinVersion"
implementation "io.insert-koin:koin-android:$koinVersion"

// view pager indicator
implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:4.1.2'

// glide
implementation 'com.github.bumptech.glide:glide:4.14.2'
kapt 'com.github.bumptech.glide:compiler:4.14.2'
implementation 'com.github.bumptech.glide:glide:4.16.0'
kapt 'com.github.bumptech.glide:compiler:4.16.0'

// chart & material search view
implementation 'com.diogobernardino:williamchart:3.11.0'
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.hoc.weatherapp">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.7.20'
ext.kotlin_version = '1.9.24'

repositories {
google()
Expand All @@ -10,9 +10,9 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.11.0"
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.25.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Jul 27 09:33:37 ICT 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
Loading
Loading