mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
refactor: migrate FeedDefinitionSerializer to kotlinx.serialization
The one Jackson holdout in commons/commonMain. Migrating it unblocks the iOS purity gate for :commons (Phase 1 of the iOS plan). - Rewrites FeedDefinitionSerializer with the kotlinx.serialization JSON tree API (JsonObject / JsonArray / JsonPrimitive). Wire format is byte-identical, so users' existing on-disk custom-feed definitions keep deserializing — covered by a new parsesLegacyJacksonOutput test that pins a hand-written Jackson-shaped JSON blob. - Adds :commons:verifyKmpPurity (mirrors the one in :quartz) and wires it into the CI lint job alongside :quartz:verifyKmpPurity. - Pulls in kotlinx-serialization-json as a commonMain dep; the serialization plugin was already applied on :commons.
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
||||
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
- name: Linter (gradle)
|
||||
run: ./gradlew spotlessCheck :quartz:verifyKmpPurity
|
||||
run: ./gradlew spotlessCheck :quartz:verifyKmpPurity :commons:verifyKmpPurity
|
||||
|
||||
build-desktop:
|
||||
needs: lint
|
||||
|
||||
Reference in New Issue
Block a user