fix gradle build issue.