From daa9c79f95bbaeb8d05c488cc97e892b6bca3f6c Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Wed, 16 Oct 2024 17:09:57 -0500 Subject: [PATCH] Update to Jetty 12 --- server/src/main/java/dev/plex/PlexLibraryManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/dev/plex/PlexLibraryManager.java b/server/src/main/java/dev/plex/PlexLibraryManager.java index dbb2312..4b6fa34 100644 --- a/server/src/main/java/dev/plex/PlexLibraryManager.java +++ b/server/src/main/java/dev/plex/PlexLibraryManager.java @@ -28,9 +28,9 @@ public class PlexLibraryManager implements PluginLoader // The plugin is null, a hacky way to check whether to load Jetty or not if (new File("plugins/Plex/modules/Module-HTTPD.jar").isFile()) { - resolver.addDependency(new Dependency(new DefaultArtifact("org.eclipse.jetty:jetty-server:11.0.19"), null)); - resolver.addDependency(new Dependency(new DefaultArtifact("org.eclipse.jetty:jetty-servlet:11.0.19"), null)); - resolver.addDependency(new Dependency(new DefaultArtifact("org.eclipse.jetty:jetty-proxy:11.0.19"), null)); + resolver.addDependency(new Dependency(new DefaultArtifact("org.eclipse.jetty:jetty-server:12.0.14"), null)); + resolver.addDependency(new Dependency(new DefaultArtifact("org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.14"), null)); + resolver.addDependency(new Dependency(new DefaultArtifact("org.eclipse.jetty:jetty-proxy:12.0.14"), null)); } classpathBuilder.addLibrary(resolver); }