Skip to content
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
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.serialization)
id("kotlin-parcelize")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fun rememberCameraState(
initialFlashMode: Int = ImageCapture.FLASH_MODE_OFF,
): CameraState {
val context = androidx.compose.ui.platform.LocalContext.current
val lifecycleOwner = androidx.compose.ui.platform.LocalLifecycleOwner.current
val lifecycleOwner = androidx.lifecycle.compose.LocalLifecycleOwner.current

return remember {
val providerFuture = ProcessCameraProvider.getInstance(context).get()
Expand Down
10 changes: 8 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
dependencies {
// AGP bundles an older KGP for built-in Kotlin; pin it to match the Kotlin compiler plugins.
classpath(libs.kotlin.gradle.plugin)
}
}

plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.compose) apply false
}
}
40 changes: 20 additions & 20 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,45 @@ versionCode = "32"
versionName = "4.2.0"

targetSdk = "36"
compileSdk = "36"
compileSdk = "37"
minSdk = "29"

javaVersion = "17"
agp = "8.13.2"
workManager = "2.11.2"
agp = "9.5.1"
workManager = "2.12.0"
argon2kt = "1.6.0"
bcrypt = "0.10.2"
faceDetection = "16.1.7"
kotlinxCoroutinesTest = "1.11.0"
rules = "1.7.0"
accompanistPermissions = "0.37.3"
coreSplashscreen = "1.2.0"
lifecycleViewModel = "2.10.0"
lifecycleViewModel = "2.11.0"
materialIconsExtended = "1.7.8"
mockk = "1.14.9"
mockk = "1.14.12"
kim = "0.26.2"
kotlin = "2.3.21"
kotlinx-serialization = "1.11.0"
runtimeLivedata = "1.11.2"
coreKtx = "1.18.0"
kotlin = "2.4.21"
kotlinx-serialization = "1.13.0"
runtimeLivedata = "1.12.1"
coreKtx = "1.19.1"
junit = "4.13.2"
junitVersion = "1.3.0"
activityCompose = "1.13.0"
composeBom = "2026.05.01"
navigation3 = "1.1.2"
lifecycleViewmodelNav3 = "2.10.0"
koin-bom = "4.2.1"
composeBom = "2026.09.00"
navigation3 = "1.2.1"
lifecycleViewmodelNav3 = "2.11.0"
koin-bom = "4.2.2"
cryptographyBom = "0.6.0"
datastorePreferences = "1.2.1"
datastorePreferences = "1.3.0"
timber = "5.0.1"
zoomable = "2.12.0"
media3 = "1.10.1"
camerax = "1.6.1"
foundation = "1.11.2"
cairn = "0.2.2"
zoomable = "2.16.0"
media3 = "1.11.1"
camerax = "1.6.2"
foundation = "1.12.1"
cairn = "0.4.0"

[libraries]
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanistPermissions" }
androidx-camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camerax" }
androidx-camera-view = { module = "androidx.camera:camera-view", version.ref = "camerax" }
Expand Down Expand Up @@ -105,6 +106,5 @@ androidx-navigation3-ui = { module = "androidx.navigation3:navigation3-ui", vers

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Wed Apr 16 15:13:31 PDT 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading