There are 2 interfaces: PredefinedVersionIncrementer.VersionIncrementer and VersionProperties.Incrementer. The latter is exposed to DSL via VersionConfig.getVersionIncrementer() but PredefinedVersionIncrementer implements the former.
The similar config versionCreator has only one interface VersionProperties.Creator and PredefinedVersionCreator implements it. We should do it the same way for versionIncrementer.
Expected behavior
Current behavior
Context
There are 2 interfaces:
PredefinedVersionIncrementer.VersionIncrementer
andVersionProperties.Incrementer
. The latter is exposed to DSL viaVersionConfig.getVersionIncrementer()
butPredefinedVersionIncrementer
implements the former.The similar config
versionCreator
has only one interfaceVersionProperties.Creator
andPredefinedVersionCreator
implements it. We should do it the same way forversionIncrementer
.