English | 中文
The newer/ refactored version of CurtainGradle.
- Designs for Minecraft plugin development (Absolutely it is).
- Built in support for Bukkit (and its fork) API, BungeeCord (and its fork) API and Velocity API.
- Helps developers spend less time configuring/ writing Gradle build scripts.
- Supports Java 8+ and Gradle 8+ at least.
settings.gradle
:
pluginManagement {
repositories {
// Other repositories...
maven {
name = "Jitpack"
url = "https://jitpack.io/"
}
}
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case "xyz.tcbuildmc.minecraft.plugin.gradle": {
useModule "com.github.TCBuildMC.PluginDevGradle:PluginDevGradle:${requested.version}"
break
}
}
}
}
}
build.gradle
:
plugins {
id "xyz.tcbuildmc.minecraft.plugin.gradle" version "{VERSION}"
}
- Commonly used maven repositories
- Commonly used dependencies/ libs
- Automatically setup Java version
- Kotlin/ Scala/ Groovy support
- Run server
- Plugin metadata (description) validate/ setup
- Custom jar relocate and shade
- Paperweight integration
- Setup plugin Internals
- Gradle 7.x support
- and more...