Skip to content

Commit 1bcc877

Browse files
Optimize dependency chain, makes build faster
1 parent 990e043 commit 1bcc877

File tree

2 files changed

+10
-30
lines changed

2 files changed

+10
-30
lines changed

pom.xml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -727,38 +727,11 @@
727727
<artifactId>PlotSquared-Core</artifactId>
728728
<version>6.0.8-SNAPSHOT</version>
729729
<scope>provided</scope>
730+
<!--We just need the core jar-->
730731
<exclusions>
731732
<exclusion>
732-
<artifactId>snakeyaml</artifactId>
733-
<groupId>org.yaml</groupId>
734-
</exclusion>
735-
<exclusion>
736-
<artifactId>Jenkins4J</artifactId>
737-
<groupId>com.github.Sauilitired</groupId>
738-
</exclusion>
739-
<exclusion>
740-
<artifactId>okhttp</artifactId>
741-
<groupId>com.squareup.okhttp3</groupId>
742-
</exclusion>
743-
<exclusion>
744-
<artifactId>okio</artifactId>
745-
<groupId>com.squareup.okio</groupId>
746-
</exclusion>
747-
<exclusion>
748-
<artifactId>kotlin-stdlib</artifactId>
749-
<groupId>org.jetbrains.kotlin</groupId>
750-
</exclusion>
751-
<exclusion>
752-
<artifactId>text-serializer-gson</artifactId>
753-
<groupId>net.kyori</groupId>
754-
</exclusion>
755-
<exclusion>
756-
<artifactId>gson</artifactId>
757-
<groupId>com.google.code.gson</groupId>
758-
</exclusion>
759-
<exclusion>
760-
<artifactId>lombok</artifactId>
761-
<groupId>org.projectlombok</groupId>
733+
<groupId>*</groupId>
734+
<artifactId>*</artifactId>
762735
</exclusion>
763736
</exclusions>
764737
</dependency>

src/integration/plotsquared/5/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@
6464
<groupId>com.sk89q.worldedit</groupId>
6565
<artifactId>worldedit-core</artifactId>
6666
<version>7.2.0-SNAPSHOT</version>
67+
<!--We just need the core jar-->
68+
<exclusions>
69+
<exclusion>
70+
<groupId>*</groupId>
71+
<artifactId>*</artifactId>
72+
</exclusion>
73+
</exclusions>
6774
<scope>provided</scope>
6875
</dependency>
6976
<dependency>

0 commit comments

Comments
 (0)