Regarding the Java Set Up

I want to develop a bot using Java. Currently I am starting the project using IntelliJ. I went to the community library using Java but it seems to be geared towards using Gradile. Should I just incorporate to be able to use it to be able to work off of this library?
I don’t want to fork the repo if possible. Very green in Java so please excuse the lack of knowledge.