問題
在 Travis CI 編譯的時候出現
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
錯誤。
詳細的錯誤日志為:
The command "eval ./gradlew assemble " failed. Retrying, 2 of 3.
The command "eval ./gradlew assemble " failed. Retrying, 3 of 3.
The command "eval ./gradlew assemble " failed 3 times.
The command "./gradlew assemble" failed and exited with 1 during .
Your build has been stopped.

解決方法
看看你送出的代碼中 gradle 檔案夾有沒有送出上去。
如果沒有送出這個檔案夾的話,需要将源代碼中的 gradle 送出到代碼庫上。