Skip to content

Nerf dx_jar_import and dx_binary#352

Closed
ted-xie wants to merge 1 commit intobazelbuild:mainfrom
ted-xie:no_dx_jar_import
Closed

Nerf dx_jar_import and dx_binary#352
ted-xie wants to merge 1 commit intobazelbuild:mainfrom
ted-xie:no_dx_jar_import

Conversation

@ted-xie
Copy link
Copy Markdown
Contributor

@ted-xie ted-xie commented Mar 24, 2025

DX has been deprecated for a long time, and is essentially unused in rules_android*. Unfortunately, dx_binary and the only binary that depends on it, main_dex_list_creator, are still used as attributes in the android_sdk() rule, and thus can't be easily deleted. This change nerfs the two aforementioned binaries into simple shell binaries that immediately fail.

  • There are still some references to DX classpaths that are bundled into the android tools jar, which we hope to untangle incrementally.

Fixes #298

DX has been deprecated for a long time, and is essentially unused in
rules_android*. Unfortunately, dx_binary and the only binary that
depends on it, main_dex_list_creator, are still used as attributes in
the android_sdk() rule, and thus can't be easily deleted. This change
nerfs the two aforementioned binaries into simple shell binaries that
immediately fail.

Fixes bazelbuild#298
@copybara-service copybara-service Bot closed this in 7f04410 Apr 3, 2025
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.

@@androidsdk//:dx_jar_import' is misplaced

1 participant