CrypticLib是一个Minecraft插件开发库,提供各种简便开发流程的工具,目前正在开发中...
Bukkit
Bungee
Velocity
将CrypticLib作为依赖打包到插件中,并将crypticlib包relocate
参考 https://github.com/YufiriaMazenta/CrypticLibExample
<repositories>
<repository>
<id>crypticlib</id>
<url>http://repo.crypticlib.com:8081/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.crypticlib</groupId>
<artifactId>CrypticLib</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
repositories {
maven("http://repo.crypticlib.com:8081/repository/maven-public/") {
isAllowInsecureProtocol = true
}
}
dependencies {
implementation("com.crypticlib:CrypticLib:${version}")
}
repositories {
maven {
url = "http://repo.crypticlib.com:8081/repository/maven-public/"
allowInsecureProtocol = true
}
}
dependencies {
implementation 'com.crypticlib:CrypticLib:${version}'
}