diff --git a/opendcs-web-client/build.gradle b/opendcs-web-client/build.gradle index e3d7c16bc..ced3e2365 100644 --- a/opendcs-web-client/build.gradle +++ b/opendcs-web-client/build.gradle @@ -23,34 +23,36 @@ plugins { dependencies { implementation(libs.servlet.api) implementation(libs.slf4j.api) - runtimeClasspath(libs.jstl) - runtimeClasspath(libs.slf4j.jdk14) - - runtimeOnly("org.webjars:bootstrap:5.3.8") - runtimeOnly("org.webjars:jquery-blockui:2.70-1") - runtimeOnly("org.webjars:jquery:3.4.1") - runtimeOnly("org.webjars:datatables:2.3.2") - runtimeOnly("org.webjars:datatables-buttons:3.2.5") - runtimeOnly("org.webjars:datatables-select:2.1.0") - runtimeOnly("org.webjars:select2:4.0.13") - runtimeOnly("org.webjars:d3js:6.7.0") - runtimeOnly("org.webjars:datatables-responsive:2.2.7") - runtimeOnly("org.webjars:bootstrap-switch:3.3.4") - runtimeOnly("org.webjars:uniform:2.1.2-1") - runtimeOnly("org.webjars.npm:switchery:0.0.2") { - exclude group: "org.webjars.npm", module: "cssify" - } - runtimeOnly("org.webjars:datatables-rowreorder:1.4.1") - runtimeOnly("org.webjars:bootstrap-sidebar:0.2.2") - runtimeOnly("org.webjars:jquery-validation:1.20.0") - runtimeOnly("org.webjars:pickadate.js:3.6.4") - runtimeOnly("org.webjars:bootstrap-daterangepicker:3.1") - runtimeOnly("org.webjars:momentjs:2.30.1-1") + implementation(libs.jstl) + implementation(libs.slf4j.jdk14) + // Webjars + implementation("org.webjars:webjars-locator-core:0.59") + implementation("org.webjars:webjars-servlet-2.x:1.6") + implementation("org.webjars:jquery:3.7.1") + implementation("org.webjars:bootstrap:5.3.8") + implementation("org.webjars:momentjs:2.30.1-1") + implementation("org.webjars.npm:bootstrap-daterangepicker:3.1.0") + implementation("org.webjars:jquery-blockui:2.70-1") + implementation("org.webjars:jquery-validation:1.20.0") + implementation("org.webjars:d3js:6.7.0") + // DataTables + Bootstrap 5 + implementation("org.webjars.npm:datatables.net:1.13.8") + implementation("org.webjars.npm:datatables.net-bs5:1.13.8") + implementation("org.webjars.npm:datatables.net-responsive:2.5.0") + implementation("org.webjars.npm:datatables.net-responsive-bs5:2.5.0") + implementation("org.webjars.npm:datatables.net-buttons:2.4.2") + implementation("org.webjars.npm:datatables.net-buttons-bs5:2.4.2") + implementation("org.webjars.npm:datatables.net-select:1.7.1") + implementation("org.webjars.npm:datatables.net-select-bs5:1.4.0") - runtimeOnly("org.webjars:webjars-locator-core:0.59") - runtimeOnly("org.webjars:webjars-servlet-2.x:1.6") + // Extras + implementation("org.webjars:select2:4.0.13") + implementation("org.webjars:bootstrap-switch:3.3.4") + implementation("org.webjars:uniform:2.1.2-1") + implementation("org.webjars:bootstrap-sidebar:0.2.2") + implementation("org.webjars:pickadate.js:3.6.4") testImplementation(libs.selenium) testImplementation(libs.junit.api) @@ -58,6 +60,7 @@ dependencies { testImplementation(libs.mockito.junit.jupiter) } + publishing { publications { maven(MavenPublication) { diff --git a/opendcs-web-client/src/main/webapp/WEB-INF/web.xml b/opendcs-web-client/src/main/webapp/WEB-INF/web.xml index 54c7d4de5..434dc3ce3 100644 --- a/opendcs-web-client/src/main/webapp/WEB-INF/web.xml +++ b/opendcs-web-client/src/main/webapp/WEB-INF/web.xml @@ -178,11 +178,11 @@ Error /portal/error - + WebjarsServlet org.webjars.servlet.WebjarsServlet - 2 + 1 WebjarsServlet diff --git a/opendcs-web-client/src/main/webapp/algorithms.jsp b/opendcs-web-client/src/main/webapp/algorithms.jsp index 66751d389..8dd5fafe3 100644 --- a/opendcs-web-client/src/main/webapp/algorithms.jsp +++ b/opendcs-web-client/src/main/webapp/algorithms.jsp @@ -29,7 +29,7 @@

OpenDCS - Algorithms

- +
@@ -63,7 +63,7 @@ - @@ -44,7 +44,7 @@ -