Issue
- We are currently upgrading our workspace and we would like to change the target version in our gradle.properties file, but we are unsure what is the correct format.
- We tried using e.g. liferay.workspace.target.platform.version=dxp-2024.q1.8 but it does not work.
Environment
- Liferay Quartely Releases
Resolution
- You can update your blade CLI tool with blade update update OR blade update -s (for snapshot version)
- When you use blade version 6+ you will be able to create workspace for quarterly release
- blade init --list --all command can be used to list all the options.
- These options can be set for liferay.workspace.product
- The syntax for liferay.workspace.target.platform.version property is different.
- To check the correct values before setting it in your gradle.properties file in your workspace, see the release.json file contains. e.g.
“releaseKey”: “dxp-2024.q1.8",
“targetPlatformVersion”: “2024.q1.8"
- According to that set the gradle.properties e.g.
liferay.workspace.product=dxp-2024.q1.8
liferay.workspace.target.platform.version=2024.q1.8
- The target platform version inside of releases.json was to allow blade to function without needing to download every release.properties file, but workspace itself still reads the target platform from release.properties. e.g.
https://releases-cdn.liferay.com/dxp/2024.q1.8/release.properties
Additional Information