When trying to upgrade dependencies using App Advisor with Gradle the customer will get a plan generated and when executed the message will show a successful result.
Upgrade-plan get example output:
advisor upgrade-plan get
Fetching and processing upgrade plan details [00m 01s] ok
- Step 1:
* Upgrade google-spring-cloud-gcp from 7.1.x to 7.2.x
- Step 2:
* Upgrade google-spring-cloud-gcp from 7.2.x to 7.3.x
Current App Advisor upgrade-plan apply example output:
advisor upgrade-plan apply
[ 1 / 3 ] Validating the license of rewrite artifacts [00m 04s] ok
[ 2 / 3 ] Fetching and processing upgrade plan details [00m 01s] ok
Projects to upgrade:
* google-spring-cloud-gcp from 7.1.x to 7.2.x
[ 3 / 3 ] Upgrading sources... [01m 26s] ok
Successfully applied upgrade.
However, if you check the dependencies the upgrade doesn't get applied.
This is a known issue. The product team is aware of the problem in dependencies upgrade between App Advisor and Gradle. They are working on the solution.
To confirm you are facing this scenario, you can execute:
advisor upgrade-plan get
advisor upgrade-plan apply
Once the previous commands are executed, execute again:
advisor upgrade-plan get
The output will likely show the same plan it generated before upgrade-plan apply was executed.
Note: Currently the functionality does work when using Maven instead of Gradle.