Просмотр исходного кода

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

疯狂的狮子Li 1 год назад
Родитель
Сommit
cf1c18184e
1 измененных файлов с 6 добавлено и 0 удалено
  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>