New Android module (no Compose, no DI) with broadcastTicks, a coroutine BroadcastReceiver.goAsync, Context.hasPermission, AlarmManager.setWakeup and Flow.stateWhileSubscribed.
44 lines
1.4 KiB
Kotlin
44 lines
1.4 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-reminders")
|
|
include(":core-locale")
|
|
include(":core-crash")
|
|
include(":core-prefs")
|
|
include(":core-di")
|
|
include(":core-android")
|
|
include(":identity")
|
|
include(":components")
|
|
include(":glance")
|