Add jquery&jquery-ui library

This commit is contained in:
olblak 2017-05-09 17:00:35 +02:00
parent 5562f571bf
commit 5940efda1a
2 changed files with 17 additions and 0 deletions

View File

@ -12,6 +12,7 @@ repositories {
jcenter()
maven { url 'https://repo.jenkins-ci.org/public' }
mavenLocal()
mavenCentral()
}
dependencies {
@ -33,6 +34,12 @@ dependencies {
exclude module: 'javamail'
}
compile 'com.esotericsoftware.yamlbeans:yamlbeans:1.11'
compile 'org.webjars:webjars-servlet-2.x:1.5'
compile 'org.webjars:jquery:3.2.0'
compile 'org.webjars:jquery-ui:1.12.1'
testCompile 'junit:junit:[4.8.1,5.0)'
}

View File

@ -17,6 +17,16 @@
<url-pattern>/*</url-pattern>
</servlet-mapping>
<!--Webjars Servlet-->
<servlet>
<servlet-name>WebjarsServlet</servlet-name>
<servlet-class>org.webjars.servlet.WebjarsServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WebjarsServlet</servlet-name>
<url-pattern>/webjars/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>org.jenkinsci.account.WebAppMain</listener-class>
</listener>