fix
This commit is contained in:
parent
00ad10f3c7
commit
d39057c84a
2
.gitignore
vendored
2
.gitignore
vendored
@ -23,3 +23,5 @@
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
||||
target
|
||||
*.iml
|
92
pom.xml
92
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>Dragon</groupId>
|
||||
<artifactId>DragonLottery-Maven</artifactId>
|
||||
<artifactId>DragonLottery</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<name>DragonLottery-Maven</name>
|
||||
@ -20,53 +20,19 @@
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- 金币 -->
|
||||
<dependency>
|
||||
<groupId>Vault</groupId>
|
||||
<artifactId>Vault</artifactId>
|
||||
<version>2.8</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/Vault.jar</systemPath>
|
||||
</dependency>
|
||||
<!-- papi -->
|
||||
<dependency>
|
||||
<groupId>Papi</groupId>
|
||||
<artifactId>Papi</artifactId>
|
||||
<version>2.10.9</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/PlaceholderAPI-2.10.9.jar</systemPath>
|
||||
</dependency>
|
||||
<!-- 1.12.2 -->
|
||||
<dependency>
|
||||
<groupId>spigot</groupId>
|
||||
<artifactId>spigot</artifactId>
|
||||
<version>1.12.2</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/spigot-1.12.2.jar</systemPath>
|
||||
</dependency>
|
||||
<!-- 点券 -->
|
||||
<dependency>
|
||||
<groupId>points</groupId>
|
||||
<artifactId>points</artifactId>
|
||||
<version>1.12.2</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/PlayerPoints.jar</systemPath>
|
||||
</dependency>
|
||||
<!-- 龙核 -->
|
||||
<dependency>
|
||||
<groupId>DragonCore</groupId>
|
||||
<artifactId>DragonCore</artifactId>
|
||||
<version>2.4.1</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/DragonCore-2.4.1.jar</systemPath>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.12.2-R0.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>yumc-repo</id>
|
||||
<url>https://repo.yumc.pw/repository/maven-public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<build>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<resources>
|
||||
@ -77,35 +43,6 @@
|
||||
</resources>
|
||||
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
||||
<plugins>
|
||||
<!-- Maven clean plugin-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>pw.yumc:YumCore</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>pw.yumc.YumCore</pattern>
|
||||
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- ProGuard -->
|
||||
<plugin>
|
||||
<groupId>com.github.wvengen</groupId>
|
||||
@ -120,8 +57,11 @@
|
||||
<configuration>
|
||||
<options>
|
||||
<option>-repackageclasses \ʼ.ʽ.ʾ.${project.artifactId}</option>
|
||||
<option>-keep class ${project.groupId}.${project.artifactId}.${project.artifactId}</option>
|
||||
<option>-keep class ${project.groupId}.${project.artifactId}.${project.artifactId}Bungee</option>
|
||||
<option>-keep class ${project.groupId}.${project.artifactId}.${project.artifactId}
|
||||
</option>
|
||||
<option>-keep class
|
||||
${project.groupId}.${project.artifactId}.${project.artifactId}Bungee
|
||||
</option>
|
||||
</options>
|
||||
<libs>
|
||||
<lib>${java.home}/lib/rt.jar</lib>
|
||||
|
4
src/main/java/pw/yumc/DragonLottery/DragonLottery.java
Normal file
4
src/main/java/pw/yumc/DragonLottery/DragonLottery.java
Normal file
@ -0,0 +1,4 @@
|
||||
package pw.yumc.DragonLottery;
|
||||
|
||||
public class DragonLottery {
|
||||
}
|
Loading…
Reference in New Issue
Block a user