API8 template fails to load (Unable to create injector)

I’m trying to setup an API8 project using the plugin template repository, however as soon as I clone the project and, without making changes I run the runServer command, I get this error

[Guice/MissingConstructor]: No injectable constructor for type Example.
class Example does not have a @Inject annotated constructor or a no-arg constructor.
Caused by: com.google.inject.CreationException: Unable to create injector

As I said I made no changes to the code, and the constructor with the @Inject annotation is present

@Inject
Example(final PluginContainer container, final Logger logger) {
        this.container = container;
        this.logger = logger;
}

So what could be wrong here? Maybe I need to setup something in IntelliJ? If so it would be nice to add that part to the Readme

EDIT: It looks like there’s something wrong with the runServer Gradle Task, since if I setup a server manually, build the plugin and put the jar in the plugin folder everything works fine. So how can I be able to run the server from inside IntelliJ using the runServer task?