Build with gradle check.