I would like to use this repository as a dependency in my gradle project, but for some reason I get this exception:
FAILURE: Build failed with an exception.
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not determine the dependencies of task ‘:resolveTestPlugins’.
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve all task dependencies for configuration ‘:testPlugins’.
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Git repository at GitHub - jenkinsci/build-monitor-plugin: Jenkins Build Monitor Plugin did not contain a project publishing the specified dependency.
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
12:54:05.289 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
My settings.gradle:
sourceControl { gitRepository('https://github.com/jan-molak/jenkins-build-monitor-plugin.git') { producesModule('org.jenkins-ci.plugins:build-monitor-plugin') } }
And this is how I try to get the specific version of this plugin:
testPlugins 'org.jenkins-ci.plugins:build-monitor-plugin:1.12+build.201809061734'