Using Java & Gradle to build a maven project from github

Hey there, I need help with the following problem:

Right now, I want to use my Java Gradle Project to build this github-project: https://github.com/PaperMC/Paper but the project but it’s a maven project. I found a plugin for adding github projects as dependencies but it fails here.

An alternative would be to use this jenkins here: https://ci.destroystokyo.com/job/Paper/

However here I’m struggling to make my gradle always use the newest build without having to reasign the chaning version numbers by hand.

Can someone help me out because I have no idea what and how to add to the build.gradle.

Thanks in advance!