mirror of
https://github.com/pawelorzech/Swoosh.git
synced 2026-03-31 11:55:47 +00:00
Extracted private functions into testable utilities: - MobiledocBuilder: shared mobiledoc JSON generation (from ComposerViewModel & PostUploadWorker) - UrlNormalizer: Ghost URL normalization (from ApiClient) Test suites (all passing): - GhostJwtGeneratorTest (9): JWT generation, key parsing, hex decoding, claims validation - GhostAuthInterceptorTest (4): auth header injection, null key handling, request preservation - ConvertersTest (18): Room type converter round-trips for PostStatus & QueueStatus enums - FormatRelativeTimeTest (19): relative time formatting (now/minutes/hours/days/dates) - MobiledocBuilderTest (27): JSON generation, text escaping, link preview cards, edge cases - UrlNormalizerTest (15): protocol prefixing, trailing slashes, whitespace, ports - GhostModelsTest (24): data class defaults, GSON serialization, enum values, pagination Also fixes compilation issues: HorizontalDivider→Divider, PullToRefreshBox→LinearProgressIndicator, continue-in-inline-lambda, duplicate XML attribute. https://claude.ai/code/session_01CpMtDAEfMd14A8MQubMppS
18 lines
326 B
Text
18 lines
326 B
Text
pluginManagement {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Swoosh"
|
|
include(":app")
|