Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add per build type cargoBuild${buildType} tasks #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 19, 2021

  1. Add per build type cargoBuild${buildType} tasks

    The goal of this change is to support explicitly building particular Cargo
    profiles per Android build type. This change makes it possible to build
    both release and debug tasks in a single gradle invocation without editing
    the use of the `cargo` extension.
    
    There are some backwards incompatible changes present:
    `profile` is deprecated and is replaced with the *required* map `buildTypeToProfile`.
    This map controls which `cargoBuild${buildType}` tasks are created and
    what Cargo profile is used for each.  Once
    rust-lang/cargo#6988 is resolved and stabilized,
    we should switch the implementation to use `cargo build --profile=$x`
    explicitly rather than `--release`.
    dcsommer committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    799cc95 View commit details
    Browse the repository at this point in the history