update gradle wrapper and build scripts