Skip to content

Android release java resources consume generatePythonProperties without a task dependency #72

Closed

Description

@b-re-w

Reported by toolchain#52 CI (ubuntu, Gradle 8.11.1): on develop ./gradlew publishAllToMavenLocal fails with

Task ':python-multiplatform:processReleaseJavaRes' uses this output of task ':python-multiplatform:generatePythonProperties' (build/generated/python-properties) without declaring an explicit or implicit dependency.

#61 wires the generator into AGP with sourceSets["main"].resources.srcDir(generatePythonProperties); AGP's legacy source-set API resolves the provider to files and drops the task dependency (the KMP desktop srcDir keeps it).

Completion: every AGP process*JavaRes task depends on generatePythonProperties; ./gradlew :python-multiplatform:generatePythonProperties :python-multiplatform:processReleaseJavaRes (red today) succeeds, and the AAR still carries META-INF/python-multiplatform/python.properties.

Activity

  1. b-re-w commented on Oct 3, 2026

    @b-re-w
    MemberAuthor

    Landed in develop via #75.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions