From fcd38052c458e4656a3391f185ee14153e56899f Mon Sep 17 00:00:00 2001 From: ZackYoung Date: Thu, 28 Nov 2024 16:06:36 +0800 Subject: [PATCH] optimize_app_package_size --- dinky-core/src/main/java/org/dinky/job/runner/JobDDLRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dinky-core/src/main/java/org/dinky/job/runner/JobDDLRunner.java b/dinky-core/src/main/java/org/dinky/job/runner/JobDDLRunner.java index 59bb856ee8..8852ae023f 100644 --- a/dinky-core/src/main/java/org/dinky/job/runner/JobDDLRunner.java +++ b/dinky-core/src/main/java/org/dinky/job/runner/JobDDLRunner.java @@ -144,6 +144,7 @@ private void executeAdd(String statement) { allFilePath.forEach(t -> jobManager.getUdfPathContextHolder().addOtherPlugins(t)); (jobManager.getExecutor().getDinkyClassLoader()) .addURLs(URLUtils.getURLs(jobManager.getUdfPathContextHolder().getOtherPluginsFiles())); + jobManager.getExecutor().addJar(ArrayUtil.toArray(allFilePath, File.class)); } private void executeAddFile(String statement) {