- Check out the project, open it in Intellij IDEA
- Check that plugin works correctly in the latest stable version of Android Studio:
- Set the
platformVersion
to the stable version from this list. - Check TODOs related to platform version upgrades
- Launch the plugin by running "Run Plugin" configuration (
./gradlew :runIde
)
- Set the
- Increment
pluginVersion
in gradle.properties - Run this GitHub Action
- Add a changelog to the new GitHub release in the GitHub UI.
If it's required to change the scheme of config.json
in a way that when an older plugin version reads the new config
it will crash, you need to do the following:
- Add
version: 2
field to the top of the newconfig.json
(assuming the current major plugin version is 1) and make it optional. - Create a check that:
- Reads this field before parsing the rest of the json file.
- Assumes that if there is no
version
field, theversion
is 1 - If plugin's current major version doesn't match the
version
:- Displays a notification that says to follow the migration guide and links to in
- Stops the rest of the config parsing.