Skip to content

Commit

Permalink
dependencies version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
psuzn committed Dec 11, 2023
1 parent 0387505 commit 428675d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kotlin {
implementation("androidx.activity:activity-compose:1.8.1")
implementation("androidx.core:core-ktx:1.12.0")

implementation(platform("com.google.firebase:firebase-bom:${Versions.FIREBASE_BOM}"))
implementation(project.dependencies.platform("com.google.firebase:firebase-bom:${Versions.FIREBASE_BOM}"))
implementation("com.google.firebase:firebase-analytics-ktx")
implementation("com.google.firebase:firebase-messaging-ktx")
}
Expand Down
12 changes: 6 additions & 6 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
object Versions {
const val KOTLIN = "1.9.10"
const val AGP = "8.1.1"
const val COMPOSE = "1.5.1"
const val KOTLIN = "1.9.20"
const val AGP = "8.2.0"
const val COMPOSE = "1.5.11"
const val SETTINGS = "1.0.0"
const val SQLDELIGHT = "2.0.0"
const val FIREBASE_BOM = "32.3.1"

const val KTOR = "2.3.5"
const val KTOR = "2.3.6"
const val KODE_IN = "7.20.2"
const val COROUTINE = "1.7.3"
const val KOTLINX_DATE_TIME = "0.4.0"
const val KOTLINX_DATE_TIME = "0.4.1"

const val JUNIT_JUPITER = "5.9.3"
const val MOCKK = "1.13.5"
const val MOCKK = "1.13.8"
const val KO_TEST = "5.5.5"
}
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Thu Dec 07 17:50:32 NPT 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
12 changes: 7 additions & 5 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ kotlin {

androidTarget()
jvm("desktop")
ios { configureFramework() }

iosArm64() { configureFramework() }
iosX64() { configureFramework() }
iosSimulatorArm64().configureFramework()

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
implementation(compose.ui)
implementation(compose.foundation)
Expand Down Expand Up @@ -64,7 +66,7 @@ kotlin {
}
}

val androidMain by getting {
androidMain {
dependencies {
implementation("io.ktor:ktor-client-android:${Versions.KTOR}")
implementation("androidx.appcompat:appcompat:1.6.1")
Expand All @@ -90,15 +92,15 @@ kotlin {
}
}

val iosMain by getting {
iosMain {
dependencies {
implementation("io.ktor:ktor-client-darwin:${Versions.KTOR}")
implementation("app.cash.sqldelight:native-driver:${Versions.SQLDELIGHT}")
}
}

val iosSimulatorArm64Main by getting {
dependsOn(iosMain)
dependsOn(iosMain.get())
}

val desktopMain by getting {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package me.sujanpoudel.playdeals.common.utils

import kotlin.experimental.ExperimentalNativeApi

//@OptIn(ExperimentalNativeApi::class)
actual val isDebugBuild: Boolean
get() = Platform.isDebugBinary

0 comments on commit 428675d

Please sign in to comment.