Skip to content

Fixing parsing yaml files when settings or build gradle files are not inlcuded #280

Merged
cdsap merged 1 commit intomainfrom
not_including_settings_build_root_plugins
Mar 17, 2026
Merged

Fixing parsing yaml files when settings or build gradle files are not inlcuded #280
cdsap merged 1 commit intomainfrom
not_including_settings_build_root_plugins

Conversation

@cdsap
Copy link
Owner

@cdsap cdsap commented Mar 17, 2026

Introduce VersionsFile for YAML parsing of additional settings and root build plugins.

This fixes a bug where omitting additionalSettingsPlugins or additionalBuildGradleRootPlugins from versions.yaml still applied the default Spotlight and dependency-analysis plugins. Versions remains the resolved runtime model with defaults, while VersionsFile now represents YAML overrides and resolves omitted plugin lists to empty.

Changes

  • add VersionsFile as the YAML-facing config model
  • resolve omitted plugin list fields to emptyList()
  • update VersionsParser to parse VersionsFile and convert to Versions
  • remove the custom deserializer workaround
  • add tests for parser and resolver behavior

@cdsap cdsap merged commit 58ff24c into main Mar 17, 2026
12 checks passed
@cdsap cdsap deleted the not_including_settings_build_root_plugins branch March 17, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant