Skip to content

flowerinsnowdh/SaussureaUtils

Repository files navigation

SaussureaUtils

也就是雪莲Utils,只是冬花的小工具箱而已,我认为叫它FlowerinsnowUtils太过单调,就叫这个吧

模块列表

  • common - java基础常用类
  • spigot-common - Spigot通用常用类
  • spigot-18-111 - Spigot1.8~1.11常用类
  • spigot-112 - Spigot1.12常用类
  • xml - 一个XML解析器,基于W3C DOM,README.md

使用

<repository>
    <id>SaussureaUtils</id>
    <url>https://maven.pkg.github.com/flowerinsnowdh/SaussureaUtils</url>
</repository>
<dependency>
    <groupId>online.flowerinsnow</groupId>
    <artifactId>saussureautils-[模块]</artifactId>
    <version>3.0.1</version>
</dependency>

建议在shade时使用relocation来防止依赖冲突

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-shade-plugin</artifactId>
    <version>3.4.1</version>
    <configuration>
        <relocations>
            <!--
            把online.flowerinsnow.saussureautils包
            重定向到your.pack.here.shaded.online.flowerinsnow.saussureautils
            -->
            <relocation>
                <pattern>online.flowerinsnow.saussureautils</pattern>
                <shadedPattern>your.pack.here.shaded.online.flowerinsnow.saussureautils</shadedPattern>
            </relocation>
        </relocations>
    </configuration>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>shade</goal>
            </goals>
        </execution>
    </executions>
</plugin>

About

冬花的工具箱

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages