I'm trying to use a color-picker dependency via webjars in my gradle buildfile (like any of the other dependencies). Deploying this artefact, the browser can't load jquery anymore. No matter whether the html-pages includes color-picker.js/css or not. After removing the colorpicker depency from the gradle build file, everything works fine again.
Any idea, how to use colorpicker with webjars?
Firefox console output:
Laden fehlgeschlagen für das <script> mit der Quelle "http://localhost:8080/Jenkins2Light/webjars/jquery/jquery.min.js". bridges:24
Error: Bootstrap's JavaScript requires jQuery bootstrap.min.js:6:37
ReferenceError: $ is not defined[Weitere Informationen] bridges:35:9
Description
I'm trying to use a color-picker dependency via webjars in my gradle buildfile (like any of the other dependencies). Deploying this artefact, the browser can't load jquery anymore. No matter whether the html-pages includes color-picker.js/css or not. After removing the colorpicker depency from the gradle build file, everything works fine again.
Any idea, how to use colorpicker with webjars?
Firefox console output:
Context
Gradle buildfile:
These are the resources included on each webpage:
Expected behavior
{Please write here}
Actual behavior
{Please write here}
Live Example
no