To import the library, please refer to the wiki for more details. If you want to compile specific modules only, you can find more information there as well. You will find the full wiki here utility library wiki.
If you do want to use the Utility Library plugin, you can follow the instructions below.
Note I solve the problem at least temporary, so use 0.103 or later.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.broken1arrow.Utility-Library</groupId>
<artifactId>utility-library</artifactId>
<version>latest</version>
<scope>provided</scope>
</dependency>
</dependencies>