Files
floret-kit/core-di/build.gradle.kts
T
Jean-Luc Makiolaandmakiolaj 8b33635a85 Converge sibling branches into main (0.7.0) (#11)
Brings the branches the sibling apps actually ship from back onto main, so floret-kit stops forking per project.

Merged in:
- `vouch/settings` (what vouch pins), which already contains `feat/clockula` (what clockula pins) and `chore/deps-2026-10`: core-prefs, core-di, CollapsingScaffold FAB/no-back slots, the glance module, LocaleManager on API 33+, and the dependency bump
- `feat/glance-module`: the three glance commits clockula's branch didn't have yet (progress ring/tile/check button, expressive shapes + header pill, WidgetDoneState)

Both merged without conflicts. Version ends up at 0.7.0 (untagged).

Heads-up for consumers: the deps bump moves the toolchain to Gradle 9.8.0 / AGP 9.4.1 / Kotlin 2.4.20. Since floret-kit is a composite build, a consumer must be on Gradle >= 9.6 to pin anything from here on. Calendula builds, tests and lints against this branch with just that toolchain bump, no source changes.

Co-authored-by: Jean-Luc Makiola <business@jeanlucmakiola.de>
Reviewed-on: https://codeberg.org/jlmakiola/floret-kit/pulls/11
2026-10-07 09:36:15 +02:00

40 lines
1.2 KiB
Kotlin

// core-di — the family's shared DI vocabulary: the `@IoDispatcher`,
// `@DefaultDispatcher` and `@ApplicationScope` qualifiers plus the Hilt module
// that provides them. A plain JVM library (nothing here touches Android), but
// the one kit module that carries an annotation processor: a `@Module
// @InstallIn(...)` only reaches a consuming app's component if the *library*
// itself is run through `hilt-compiler`, which generates the `@AggregatedDeps`
// metadata the app's processor reads off the classpath.
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.ksp)
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlin {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
}
}
dependencies {
// `CoroutineDispatcher` / `CoroutineScope` are returned from the module.
api(libs.kotlinx.coroutines.core)
implementation(libs.hilt.core)
ksp(libs.hilt.compiler)
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
testRuntimeOnly(libs.junit.platform.launcher)
testImplementation(libs.truth)
testImplementation(libs.kotlinx.coroutines.test)
}
tasks.test {
useJUnitPlatform()
}