首先参考: 这个视频我在黑马程序员上看过的,觉得该博客可能是视频的文字版 Gradle_Java_盗情的博客-CSDN博客 https://blog.csdn.net/qq_37546891/article/details/82848875