[JBJCA-1067] Support gradle build for generated project