Skip to content

Bricks: platform allow-list and per-platform NuGet in brick manifests #248

Closed

Description

@brmassa

Current State

Brick manifests (Gaya/Gaya.Packages/PackageManifest.cs, docs/bricks/package.schema.json) have one nuget map and client/server/editor flags, but no platform constraint. The UI brick lists desktop-only SkiaSharp natives and the vulkan brick lists GLFW; BuildProfiles.ShippingBricks filters only Client vs Server.

Tasks

  • Add a platforms allow-list (absent = any platform)
  • Add per-platform NuGet entries (decide naming)
  • ShippingBricks and CsProjectGenerator.AddBrickPackages honor the profile's platform
  • Export fails early naming the unsupported brick
  • Update the schema and brick docs

Acceptance Criteria

  • Tests for platform filtering and the failure message
  • Desktop export unchanged

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    c:buildBuild system: compilation, packaging, export, NUKEc:gayaGaya platform: host, SDK, plugin loading, workbenchp:highHigh priority — fix in current sprintsize:M~3-5 days — moderate effortt:featureNew feature implementation

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions