FloretExpressiveTheme(lightScheme, darkScheme, darkTheme, dynamicColor, typography) holds the family's theme mechanics — dynamic-colour resolution (API 31+), system light/dark fallback, and the STANDARD motion scheme — while each app supplies its own seed-derived colour schemes, so the look stays per-app and the machinery is shared. rememberNavSlideSpec() shares the fast spatial nav slide. android-library, Compose-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
37 lines
1.2 KiB
Kotlin
37 lines
1.2 KiB
Kotlin
pluginManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
// NB: deliberately NO Gradle Java-toolchain auto-download resolver plugin here.
|
|
// Consuming apps build this as an included build, and Calendula publishes via
|
|
// official F-Droid reproducible builds whose offline source scanner rejects any
|
|
// toolchain resolver that can fetch a JDK at build time. Modules set jvmTarget
|
|
// directly and must not add a Java toolchain block that needs such a resolver.
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
// floret-kit — the shared Material 3 Expressive design system + plumbing for the
|
|
// Floret family of apps (Calendula, Agendula, …). Consumed by each app as a git
|
|
// submodule wired in via Gradle `includeBuild`, built from source (F-Droid-safe).
|
|
rootProject.name = "floret-kit"
|
|
|
|
include(":core-time")
|
|
include(":core-crash")
|
|
include(":identity")
|