move retention to the correct directory to adapt to gradle