Registering a plugin with VersionedSettingsRegistry


I tried adding support for versioned settings to a plugin I've developed, Gradle Init Scripts. After enabling versioned settings for a project any existing scripts were committed to the VCS but any changes made after the initial commit to add new scripts, update existing scripts or delete a script doesn't result in a new commit being made to the VCS. After comparing this to the behaviour of the Maven plugin and how changes to settings files are handled it appears I'm missing some API calls to tell TeamCity about the changes being made. I couldn't find much in the documentation, can someone point me to the APIs needed to support versioned settings.


Please sign in to leave a comment.