Skip to content

Commit bb60855

Browse files
Im-FranTheProgramSrc
authored andcommitted
Dependency Fixes
Fixed some relocations with dependencies.
1 parent f99c94e commit bb60855

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

SuperCoreAPI.iml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,12 @@
1313
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
1414
<output url="file://$MODULE_DIR$/target/classes" />
1515
<output-test url="file://$MODULE_DIR$/target/test-classes" />
16-
<javadoc-paths>
17-
<root url="file://$MODULE_DIR$/../../../JavaDocs/Spigot" />
18-
</javadoc-paths>
1916
<content url="file://$MODULE_DIR$">
2017
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
21-
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
2218
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
23-
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
2419
<excludeFolder url="file://$MODULE_DIR$/target" />
2520
</content>
26-
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
21+
<orderEntry type="inheritedJdk" />
2722
<orderEntry type="sourceFolder" forTests="false" />
2823
<orderEntry type="library" scope="PROVIDED" name="Maven: org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT" level="project" />
2924
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-lang:commons-lang:2.6" level="project" />

dependency-reduced-pom.xml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>xyz.theprogramsrc</groupId>
55
<artifactId>SuperCoreAPI</artifactId>
66
<name>SuperCoreAPI</name>
7-
<version>4.5.0</version>
7+
<version>4.5.2</version>
88
<build>
99
<sourceDirectory>src/main/java</sourceDirectory>
1010
<defaultGoal>clean package</defaultGoal>
@@ -35,16 +35,20 @@
3535
</goals>
3636
<configuration>
3737
<createDependencyReducedPom>true</createDependencyReducedPom>
38-
<minimizeJar>true</minimizeJar>
38+
<minimizeJar>false</minimizeJar>
3939
<relocations>
40-
<relocation>
41-
<pattern>org.apache.commons</pattern>
42-
<shadedPattern>xyz.theprogramsrc.supercoreapi.apache.commons</shadedPattern>
43-
</relocation>
4440
<relocation>
4541
<pattern>com.google.gson</pattern>
4642
<shadedPattern>xyz.theprogramsrc.supercoreapi.google.gson</shadedPattern>
4743
</relocation>
44+
<relocation>
45+
<pattern>org.apache.commons.codec</pattern>
46+
<shadedPattern>xyz.theprogramsrc.supercoreapi.apache.commons.codec</shadedPattern>
47+
</relocation>
48+
<relocation>
49+
<pattern>org.apache.commons.io</pattern>
50+
<shadedPattern>xyz.theprogramsrc.supercoreapi.apache.commons.io</shadedPattern>
51+
</relocation>
4852
</relocations>
4953
</configuration>
5054
</execution>

pom.xml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>xyz.theprogramsrc</groupId>
88
<artifactId>SuperCoreAPI</artifactId>
9-
<version>4.5.1</version>
9+
<version>4.5.2</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SuperCoreAPI</name>
@@ -42,16 +42,20 @@
4242
</goals>
4343
<configuration>
4444
<createDependencyReducedPom>true</createDependencyReducedPom>
45-
<minimizeJar>true</minimizeJar>
45+
<minimizeJar>false</minimizeJar>
4646
<relocations>
47-
<relocation>
48-
<pattern>org.apache.commons</pattern>
49-
<shadedPattern>xyz.theprogramsrc.supercoreapi.apache.commons</shadedPattern>
50-
</relocation>
5147
<relocation>
5248
<pattern>com.google.gson</pattern>
5349
<shadedPattern>xyz.theprogramsrc.supercoreapi.google.gson</shadedPattern>
5450
</relocation>
51+
<relocation>
52+
<pattern>org.apache.commons.codec</pattern>
53+
<shadedPattern>xyz.theprogramsrc.supercoreapi.apache.commons.codec</shadedPattern>
54+
</relocation>
55+
<relocation>
56+
<pattern>org.apache.commons.io</pattern>
57+
<shadedPattern>xyz.theprogramsrc.supercoreapi.apache.commons.io</shadedPattern>
58+
</relocation>
5559
</relocations>
5660
</configuration>
5761
</execution>
@@ -66,7 +70,6 @@
6670
</resources>
6771
</build>
6872

69-
7073
<distributionManagement>
7174
<repository>
7275
<id>theprogramsrc-releases</id>

src/main/java/xyz/theprogramsrc/supercoreapi/SuperPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface SuperPlugin<PLUGIN> {
1818
/*
1919
* This need to be updated on every new release
2020
*/
21-
String SUPER_CORE_API_VERSION = "4.5.0";
21+
String SUPER_CORE_API_VERSION = "4.5.2";
2222

2323
/**
2424
* Gets if this plugin is paid, By default is set to true, but is recommended to change it if your plugin is free.

0 commit comments

Comments
 (0)