diff --git a/dinky-admin/pom.xml b/dinky-admin/pom.xml
index 11995d2bcf..97d0867231 100644
--- a/dinky-admin/pom.xml
+++ b/dinky-admin/pom.xml
@@ -403,8 +403,7 @@
/application*.yml
/mybatis*.xml
/DinkyFlinkDockerfile
- /dinky-loader/FlinkConfClass
- /dinky-loader/ExpressionVariableClass
+ /dinky-loader/**
diff --git a/dinky-assembly/src/main/assembly/package.xml b/dinky-assembly/src/main/assembly/package.xml
index a6ac9f1ed4..f0ece562f2 100644
--- a/dinky-assembly/src/main/assembly/package.xml
+++ b/dinky-assembly/src/main/assembly/package.xml
@@ -46,7 +46,7 @@
${project.parent.basedir}/dinky-admin/target/classes
- dinky-loader
+ /
**/dinky-loader/FlinkConfClass
**/dinky-loader/ExpressionVariableClass