Try adding
maven { url=uri("https://jitpack.io") }
to your settings.gradle > dependencyResolutionManagement > repositories