Skip to content

Support using sources instead of androidx artifacts#3169

Draft
Igor Demin (igordmn) wants to merge 3 commits into
igor.demin/buildSrc-fork-jbmainfrom
igor.demin/buildSrc-fork-support-using-sources
Draft

Support using sources instead of androidx artifacts#3169
Igor Demin (igordmn) wants to merge 3 commits into
igor.demin/buildSrc-fork-jbmainfrom
igor.demin/buildSrc-fork-support-using-sources

Conversation

@igordmn

@igordmn Igor Demin (igordmn) commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Part of CMP-10017 Simplify merges short-term. Make buildSrc/build.gradle for the fork mode

  • move stubs into separate -stub project
  • reset the state of projects that are needed to be included as sources to the AOSP state
  • fork them, apply necessary changes, so they can work with the forked build structure
  • add jetbrains.androidx.use.androidx.sources.instead.of.artifacts. If true - sources instead of androidx artifacts are used for specific projects, using dependency substitution

Supported projects to run from sources:

  • compose:runtime
  • compose:runtime-annotation
  • TBD

Release Notes

N/A

```
cp compose/runtime/runtime/build-fork.gradle compose/runtime/runtime-stub/build.gradle
```
```
git checkout --no-overlay androidx/compose-ui/1.12.0-beta01 -- compose/runtime/runtime/build**
git checkout --no-overlay androidx/compose-ui/1.12.0-beta01 -- compose/runtime/runtime-annotation/build**
cp compose/runtime/runtime/build.gradle compose/runtime/runtime/build-fork.gradle
cp compose/runtime/runtime-annotation/build.gradle compose/runtime/runtime-annotation/build-fork.gradle
```
@igordmn Igor Demin (igordmn) changed the title Igor.demin/build src fork support using sources Support using sources instead of androidx artifacts Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant