The §6.3 EXIF row deferred implementation to "M4+ when the JVM attachment intake lands" — it landed in M4.4c, so the last NoOp placeholder is gone. JvmImageOrientationNormalizer keeps the Android contract exactly: orientation 6/3/8 -> bake 90/180/270 into pixels, re-encode JPEG @ 0.92, return input UNCHANGED for normal/absent/mirror tags or any decode/rotate failure. Tooling differs, contract doesn't: com.drewnoakes:metadata-extractor 2.19.0 (first Central pull this phase — recorded) for the tag read, BufferedImage + AffineTransform for the rotate, ImageIO JPEG writer at explicit 0.92 for the encode. DesktopContainer now wires it into NoteRepositoryImpl (was ImageOrientationNormalizer.NoOp). New probe: :core:data-jvm:orientationSmoke hand-builds an EXIF-Orientation-90 JPEG (APP1 splice — metadata-extractor is read-only) and asserts: no-EXIF passthrough, EXIF-90 rewrite, pixels rotated (4x2 -> 2x4), output stability, garbage passthrough. Verified: :core:data-jvm:orientationSmoke (RESULT: M4.4e PASS, 5/5) + ./gradlew assembleDebug :desktopApp:build SUCCESSFUL + :desktopApp:run --self-test (SELFTEST id=1 -> RENDER notes=1 selected=1); objectbox-models clean.
108 lines
6.0 KiB
TOML
108 lines
6.0 KiB
TOML
[versions]
|
|
# Tooling
|
|
agp = "8.7.2"
|
|
kotlin = "2.0.21"
|
|
ksp = "2.0.21-1.0.28"
|
|
|
|
# Build
|
|
gradleWrapper = "8.10.2"
|
|
|
|
# Compose Multiplatform
|
|
composeMultiplatform = "1.7.3"
|
|
|
|
# AndroidX
|
|
androidxActivityCompose = "1.9.3"
|
|
androidxLifecycle = "2.8.7"
|
|
androidxNavigationCompose = "2.8.4"
|
|
composeBom = "2024.10.01"
|
|
androidxDatastore = "1.1.1"
|
|
androidxBiometric = "1.2.0-alpha05"
|
|
|
|
# Kotlin / Coroutines
|
|
coroutines = "1.9.0"
|
|
kotlinxSerialization = "1.7.3"
|
|
|
|
# Data
|
|
objectbox = "4.0.3"
|
|
|
|
# Exif
|
|
exifinterface = "1.3.7"
|
|
metadata-extractor = "2.19.0"
|
|
|
|
[libraries]
|
|
# Compose Multiplatform
|
|
compose-multiplatform = { module = "org.jetbrains.compose:compose-bom", version.ref = "composeMultiplatform" }
|
|
compose-ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "composeMultiplatform" }
|
|
compose-ui-tooling = { module = "org.jetbrains.compose.ui:ui-tooling", version.ref = "composeMultiplatform" }
|
|
compose-ui-tooling-preview = { module = "org.jetbrains.compose.ui:ui-tooling-preview", version.ref = "composeMultiplatform" }
|
|
compose-foundation = { module = "org.jetbrains.compose.foundation:foundation", version.ref = "composeMultiplatform" }
|
|
compose-material3 = { module = "org.jetbrains.compose.material3:material3", version.ref = "composeMultiplatform" }
|
|
compose-material-icons-extended = { module = "org.jetbrains.compose.material:material-icons-extended", version.ref = "composeMultiplatform" }
|
|
|
|
# AndroidX Compose BOM
|
|
composeBom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" }
|
|
|
|
# AndroidX
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivityCompose" }
|
|
androidx-lifecycle-viewmodel = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel", version = "2.8.4" }
|
|
androidx-lifecycle-viewmodel-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version = "2.8.4" }
|
|
androidx-lifecycle-runtime-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version = "2.8.4" }
|
|
androidx-lifecycle-runtime = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime", version = "2.8.4" }
|
|
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version = "2.8.4" }
|
|
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigationCompose" }
|
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.13.1" }
|
|
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version.ref = "exifinterface" }
|
|
metadata-extractor = { module = "com.drewnoakes:metadata-extractor", version.ref = "metadata-extractor" }
|
|
# v0.3.2.0: FragmentActivity (for BiometricPrompt host)
|
|
androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version = "1.8.5" }
|
|
|
|
# v0.3.2.0: Settings / Security / Backup support
|
|
androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "androidxDatastore" }
|
|
# Desktop feasibility spike: the multiplatform core of DataStore Preferences,
|
|
# which is what a JVM/desktop SettingsRepository must use (the
|
|
# `preferencesDataStore(name = …)` Context extension the Android app uses is
|
|
# Android-only; on desktop the store is created from a file path).
|
|
androidx-datastore-preferences-core = { module = "androidx.datastore:datastore-preferences-core", version.ref = "androidxDatastore" }
|
|
androidx-biometric = { module = "androidx.biometric:biometric", version.ref = "androidxBiometric" }
|
|
|
|
# Kotlin Serialization (v0.3.2.0 backup JSON codec)
|
|
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerialization" }
|
|
|
|
# Coroutines
|
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
|
|
# Phase 1 (M1b): Compose Desktop drives its event loop through Swing/AWT, which
|
|
# needs the Swing dispatcher for Dispatchers.Main (the desktop analogue of
|
|
# kotlinx-coroutines-android).
|
|
kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "coroutines" }
|
|
|
|
# Data
|
|
objectbox-android = { module = "io.objectbox:objectbox-android", version.ref = "objectbox" }
|
|
objectbox-kotlin = { module = "io.objectbox:objectbox-kotlin", version.ref = "objectbox" }
|
|
|
|
# Desktop feasibility spike (Development Plan §6.3) — ObjectBox on the JVM.
|
|
# objectbox-java is the JVM runtime; objectbox-linux is the native library
|
|
# jar. The ObjectBox Gradle plugin only adds the native lib for the build
|
|
# OS, so every shipped platform needs its own artifact
|
|
# (objectbox-linux / objectbox-macos / objectbox-windows).
|
|
objectbox-java = { module = "io.objectbox:objectbox-java", version.ref = "objectbox" }
|
|
objectbox-linux = { module = "io.objectbox:objectbox-linux", version.ref = "objectbox" }
|
|
|
|
[plugins]
|
|
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
|
androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
|
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
|
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|
|
kotlinCompose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
|
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
|
objectbox = { id = "io.objectbox", version.ref = "objectbox" }
|
|
# Desktop feasibility spike (Development Plan §6.3): kapt drives the ObjectBox
|
|
# generator on a plain JVM module, and org.jetbrains.compose is the Compose
|
|
# Multiplatform Gradle plugin that provides the `compose.*` dependency
|
|
# accessors + the `compose.desktop { application { } }` packaging DSL.
|
|
kotlinKapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
|
|
compose = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" }
|