Revert "Use Gradle daemon" due to memory size problem

This reverts commit df990a44adcc813ee37fbc4cc952ef6cfff9e909.