Run/Debug Configurations across versions
已回答
Is it possible to share run/debug configurations within a team that has a mixture of IntelliJ 2020.x and 2021.x. I've noticed some differences in the XML format of the *.run.xml files between these versions. Are the formats compatible?
For example, for a Gradle config that runs the task `bootRun`, I've seen this in 2020.3.4
component name="ProjectRunConfigurationManager">
<configuration default="false" name="..." type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="taskNames">
<list>
<option value="bootRun" />
and this in 2021.2.3
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="..." type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="scriptParameters" value="bootRun" />
请先登录再写评论。
These both formats are working in 2021.2 version so it should be fine.
Thanks Andrey Dernov, that will work for me.