paritytech / paritytech/host-rust-core

Compose the Android host into the root Gradle build

Open
#674 1 comment 0 reactions 1 assignee View on GitHub

@TarikGul is already working on this.

Since Sep 11, 2026.

host-work
Dominant language
Swift
Stars
10
Forks
3
Avg merge
1d 10h
Merged PRs (30d)
148

Description

Two Gradle builds cannot share one settings file once their
dependencyResolutionManagement blocks disagree, and they do: the root build declares a
repository policy and the host application already declares its own. includeBuild
composes them instead, leaving both intact so the host still builds standalone.

This is the one non-additive step in the Android sequence, since it changes the root
build for everyone. It lands on its own so reverting is one click.

Two details confirmed by prototype: tasks in a composed build are not addressable
directly, so the root needs a delegate task per host; and that delegate names the included
build by its directory, not by its rootProject.name.

Depends on: #673.

Steps
  • Compose the host build in from the root
  • Add a root delegate task for the host
  • Point the host's core dependency at the in-tree core
  • Remove the pinned-core checkout step
Done when

The host builds from the repository root and still builds standalone, from a clean clone
with no machine-local configuration.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.