Skip to content

Commit

Permalink
Upgraded dependencies to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouya Heydari committed Dec 9, 2022
1 parent 3d396e7 commit ddc5b10
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
9 changes: 4 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
plugins {
id("com.android.application")
id("kotlin-android")
id("com.google.devtools.ksp").version("1.7.10-1.0.6")
id("com.google.devtools.ksp").version("1.7.20-1.0.6")
}
android {
compileSdk = 33
defaultConfig {
applicationId = "ir.apptune.antispam"
minSdk = 23
targetSdk = 33
versionCode = 605
versionName = "6.0.5"
versionCode = 610
versionName = "6.1.0"
}
buildTypes {
release {
Expand Down Expand Up @@ -42,13 +42,12 @@ dependencies {
// ViewModel + LiveData
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.5.1")
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")

// Room
implementation("androidx.room:room-runtime:2.4.3")
implementation("androidx.legacy:legacy-support-v4:1.0.0")
ksp("androidx.room:room-compiler:2.4.3")
implementation("androidx.room:room-ktx:2.4.3")
implementation("androidx.legacy:legacy-support-v4:1.0.0")

// Koin for Android
implementation("io.insert-koin:koin-android:3.3.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import kotlinx.coroutines.launch
* @property repository
* @property context
*/
class IncomingCallPhoneState(private val repository: Repository, private val context: Context) : PhoneStateListener() {
class IncomingCallPhoneState(private val repository: Repository, private val context: Context) :
PhoneStateListener() {

@Deprecated("Deprecated in Java")
override fun onCallStateChanged(state: Int, phoneNumber: String?) {
when (state) {
CALL_STATE_RINGING, CALL_STATE_OFFHOOK -> phoneNumber?.let { showInfoByToast(it) }
Expand All @@ -33,4 +35,4 @@ class IncomingCallPhoneState(private val repository: Repository, private val con
}
}
}
}
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
}
}

Expand Down

0 comments on commit ddc5b10

Please sign in to comment.