refactoring for true gradle multiproject