Skip to content
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
53 changes: 26 additions & 27 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,41 +1,27 @@
[versions]
agp = "9.2.1"
kotlin = "2.2.21"
coreKtx = "1.17.0"
kotlin = "2.4.0"
coreKtx = "1.19.0"
appcompat = "1.7.1"
material = "1.13.0"
composeBom = "2024.09.00"
activityCompose = "1.10.1"
lifecycleRuntimeKtx = "2.9.3"
camera = "1.3.1"
material = "1.14.0"
composeBom = "2026.06.01"
activityCompose = "1.13.0"
lifecycleRuntimeKtx = "2.11.0"
camera = "1.6.1"
faceDetection = "16.1.7"
ejmlSimple = "0.44.0"
opencv = "4.13.0"
tensorflowLite = "2.17.0"
tensorflowLiteMetadata = "0.5.0"
tensorflowLiteSupport = "0.5.0"
ejmlSimple = "0.46.0"
opencv = "5.0.0.1"
litert = "1.4.2"
litertSupport = "1.4.2"
truth = "1.4.5"
junit = "4.13.2"
junitVersion = "1.3.0"
espressoCore = "3.7.0"
coroutines = "1.10.2"
coroutines = "1.11.0"

[libraries]
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
tensorflow-lite = { module = "org.tensorflow:tensorflow-lite", version.ref = "tensorflowLite" }
tensorflow-lite-metadata = { module = "org.tensorflow:tensorflow-lite-metadata", version.ref = "tensorflowLiteMetadata" }
tensorflow-lite-support = { module = "org.tensorflow:tensorflow-lite-support", version.ref = "tensorflowLiteSupport" }
face-detection = { module = "com.google.mlkit:face-detection", version.ref = "faceDetection" }
ejml-simple = { module = "org.ejml:ejml-simple", version.ref = "ejmlSimple" }
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
opencv = { module = "org.opencv:opencv", version.ref = "opencv" }
truth = { module = "com.google.truth:truth", version.ref = "truth" }
junit = { group = "junit", name = "junit", version.ref = "junit" }

androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycleRuntimeKtx" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
Expand All @@ -47,15 +33,28 @@ androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "u
androidx-compose-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
androidx-compose-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" }
material = { group = "com.google.android.material", name = "material", version.ref = "material" }

camera-core = { group = "androidx.camera", name = "camera-core", version.ref = "camera" }
camera-camera2 = { group = "androidx.camera", name = "camera-camera2", version.ref = "camera" }
camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "camera" }
camera-view = { group = "androidx.camera", name = "camera-view", version.ref = "camera" }

litert = { group = "com.google.ai.edge.litert", name = "litert", version.ref = "litert" }
litert-support = { group = "com.google.ai.edge.litert", name = "litert-support", version.ref = "litertSupport" }

face-detection = { group = "com.google.mlkit", name = "face-detection", version.ref = "faceDetection" }
ejml-simple = { group = "org.ejml", name = "ejml-simple", version.ref = "ejmlSimple" }
opencv = { group = "org.opencv", name = "opencv", version.ref = "opencv" }

test-junit = { group = "junit", name = "junit", version.ref = "junit" }
test-espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
test-truth = { group = "com.google.truth", name = "truth", version.ref = "truth" }
test-coroutine = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
test-androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
android-library = { id = "com.android.library", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Oct 02 14:49:35 EEST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
12 changes: 6 additions & 6 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

android {
namespace = "com.simprints.sample"
compileSdk = 36
compileSdk = 37

defaultConfig {
applicationId = "com.simprints.sample"
Expand Down Expand Up @@ -61,11 +61,11 @@ dependencies {
implementation(libs.camera.lifecycle)
implementation(libs.camera.view)

testImplementation(libs.junit)
testImplementation(libs.truth)
testImplementation(libs.kotlinx.coroutines.test)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
testImplementation(libs.test.junit)
testImplementation(libs.test.truth)
testImplementation(libs.test.coroutine)
androidTestImplementation(libs.test.androidx.junit)
androidTestImplementation(libs.test.espresso)
androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pluginManagement {
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.10.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}

dependencyResolutionManagement {
Expand Down
15 changes: 7 additions & 8 deletions simface/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = projectVersion
android {

namespace = "$projectGroupId.$projectArtifactId"
compileSdk = 36
compileSdk = 37

defaultConfig {
minSdk = 23
Expand Down Expand Up @@ -45,20 +45,19 @@ dependencies {
api(project(":simq"))

// Tensorflow versions that works with Edgeface
api(libs.tensorflow.lite.support)
api(libs.tensorflow.lite.metadata)
api(libs.tensorflow.lite)
api(libs.litert)
Comment thread
luhmirin-s marked this conversation as resolved.
api(libs.litert.support)

// Face Detection and quality
api(libs.face.detection)

// For face alignment
api(libs.ejml.simple)

androidTestImplementation(libs.truth)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.kotlinx.coroutines.test)
androidTestImplementation(libs.test.truth)
androidTestImplementation(libs.test.androidx.junit)
androidTestImplementation(libs.test.espresso)
androidTestImplementation(libs.test.coroutine)
}

publishing {
Expand Down
10 changes: 5 additions & 5 deletions simq/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = projectVersion

android {
namespace = "com.simprints.simq"
compileSdk = 36
compileSdk = 37

defaultConfig {
minSdk = 23
Expand Down Expand Up @@ -52,10 +52,10 @@ dependencies {
implementation(libs.material)
api(libs.opencv)

androidTestImplementation(libs.truth)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.kotlinx.coroutines.test)
androidTestImplementation(libs.test.truth)
androidTestImplementation(libs.test.androidx.junit)
androidTestImplementation(libs.test.espresso)
androidTestImplementation(libs.test.coroutine)
}

publishing {
Expand Down
Loading