Browse Source

update 优化 排除powerjob无用的依赖 减少打包30M体积

疯狂的狮子Li 1 year ago
parent
commit
cf1c18184e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      ruoyi-common/ruoyi-common-job/pom.xml

+ 6 - 0
ruoyi-common/ruoyi-common-job/pom.xml

@@ -26,6 +26,12 @@
         <dependency>
             <groupId>tech.powerjob</groupId>
             <artifactId>powerjob-worker-spring-boot-starter</artifactId>
+            <exclusions>
+                <exclusion>
+                    <artifactId>powerjob-remote-impl-akka</artifactId>
+                    <groupId>tech.powerjob</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>tech.powerjob</groupId>