I found the solution
sencha config --prop build.options.minVersion=0 then app build testing
This instructs to include code deprecated in all versions >= 0, which means... all.
This can be also configured in a config file, for example:
build.options.minVersion=0
in sencha.cfg
or another of the config files.
Hope this helps to someone