gradlizing init and definePerfVariables