Skip to content

Commit 6885f0f

Browse files
committed
Disable shading and reconfigure dependabot
1 parent c5ae8a9 commit 6885f0f

File tree

3 files changed

+19
-26
lines changed

3 files changed

+19
-26
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "maven"
4-
directory: "/"
3+
- package-ecosystem: maven
4+
directory: /
55
schedule:
6-
interval: "weekly"
6+
interval: weekly
7+
day: monday
8+
time: "06:00"
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: weekly
13+
day: monday
14+
time: "06:00"

pom.xml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<name>SMPCore</name>
1313

1414
<properties>
15-
<java.version>1.8</java.version>
15+
<java.version>25</java.version>
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717
</properties>
1818

@@ -23,26 +23,10 @@
2323
<artifactId>maven-compiler-plugin</artifactId>
2424
<version>3.14.1</version>
2525
<configuration>
26-
<source>25</source>
27-
<target>25</target>
26+
<source>${java.version}</source>
27+
<target>${java.version}</target>
2828
</configuration>
2929
</plugin>
30-
<plugin>
31-
<groupId>org.apache.maven.plugins</groupId>
32-
<artifactId>maven-shade-plugin</artifactId>
33-
<version>3.6.1</version>
34-
<executions>
35-
<execution>
36-
<phase>package</phase>
37-
<goals>
38-
<goal>shade</goal>
39-
</goals>
40-
<configuration>
41-
<createDependencyReducedPom>false</createDependencyReducedPom>
42-
</configuration>
43-
</execution>
44-
</executions>
45-
</plugin>
4630
</plugins>
4731
<resources>
4832
<resource>
@@ -57,10 +41,6 @@
5741
<id>papermc-repo</id>
5842
<url>https://repo.papermc.io/repository/maven-public/</url>
5943
</repository>
60-
<repository>
61-
<id>sonatype</id>
62-
<url>https://oss.sonatype.org/content/groups/public/</url>
63-
</repository>
6444
</repositories>
6545

6646
<dependencies>
@@ -74,11 +54,13 @@
7454
<groupId>com.zaxxer</groupId>
7555
<artifactId>HikariCP</artifactId>
7656
<version>7.0.2</version>
57+
<scope>provided</scope>
7758
</dependency>
7859
<dependency>
7960
<groupId>io.javalin</groupId>
8061
<artifactId>javalin</artifactId>
8162
<version>6.7.0</version>
63+
<scope>provided</scope>
8264
</dependency>
8365
</dependencies>
8466
</project>

src/main/resources/plugin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ author: Cloudnode
33
version: '${project.version}'
44
main: pro.cloudnode.smp.smpcore.SMPCore
55
api-version: '1.20'
6+
libraries:
7+
- com.zaxxer:HikariCP:7.0.2
8+
- io.javalin:javalin:6.7.0
69
commands:
710
smpcore:
811
description: SMPCore Main command

0 commit comments

Comments
 (0)