arconia update framework
The arconia update framework command upgrades your project to a newer version of the Arconia Framework. It uses upgrade recipes from the Arconia Migrations project, which automatically apply the necessary changes: dependency version bumps, deprecated API replacements, and configuration property renames.
Usage
Preview what changes will be made without applying them:
arconia update framework --to-version=0.23 --dry-run
Apply the update:
arconia update framework --to-version=0.23
Pass extra parameters to the underlying build tool using --:
arconia update framework --to-version=0.23 -- --stacktrace
arconia update framework --to-version=0.23 -- -DmyProperty=value
| Commit your project to version control before running this command so you can review the changes and revert if needed. |
Consider using --dry-run first to inspect what the migration recipe will change before applying it.
|
Options
The following options are available:
| Option | Default | Description |
|---|---|---|
|
|
Preview the changes that would be made without modifying any files. Recommended before applying the update. |
|
|
Arconia Framework target version to upgrade to. |
|
|
Include verbose output. |
|
Display help information for the command. |
Build Tool Integration
The command runs the appropriate OpenRewrite task based on your build tool, following the same approach used by the arconia rewrite command.
Use -- to pass parameters directly to the underlying build tool. The -- separator is required to distinguish Arconia CLI options from build tool parameters.