Skip to content

Add a test-only R8 shrink-survival module with consumer keep-rules #72

Closed

Description

@OmarAlJarrah

Problem

Nothing verifies the toolkit survives consumer-side shrinking (R8/ProGuard) — more important for a library than for an app SDK.

Proposed change

Add a test-only sdk-shrink-test (Java 8, unpublished — shadow + R8 stay out of every published module so zero-dep core is preserved): shadow-JAR core + okio + okhttp transport + jackson serde, run R8, and ship the consumer keep-rules needed. Wire into CI.

Acceptance

  • Shrink test module runs R8
  • Keep-rules documented/shipped
  • CI job

Dependencies


Priority: medium · Effort: large

Activity

  1. added
    enhancement
    build
    on Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions