v1.0.3: Fix TipTap JSON content conversion for editor display
- Replace all TypeToken usage with JsonParser/gson.fromJson (fixes R8/ProGuard crash) - Add parseJsonArray/parseJsonObject helpers for API response parsing - Fix contentToMarkdown to properly convert TipTap JSON objects to Markdown using tiptapToMarkdown instead of returning raw JSON - Fix API endpoints to handle unwrapped response formats - Add ProGuard rules for Gson TypeToken preservation - Redirect build dir to /tmp for Samba compatibility
This commit is contained in:
@@ -14,3 +14,12 @@ dependencyResolutionManagement {
|
||||
|
||||
rootProject.name = "Docmost"
|
||||
include(":app")
|
||||
|
||||
val localBuildDir = "/tmp/android-build/Docmost"
|
||||
|
||||
gradle.projectsLoaded {
|
||||
rootProject.layout.buildDirectory.set(file(localBuildDir))
|
||||
rootProject.subprojects.forEach { project ->
|
||||
project.layout.buildDirectory.set(file("$localBuildDir/${project.name}"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user