8000 GitHub - TCBuildMC/PluginDevGradle: Just a Gradle plugin for Minecraft plugin development.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

TCBuildMC/PluginDevGradle

Repository files navigation

English | 中文

PluginDevGradle

The newer/ refactored version of CurtainGradle.

Highlights

  • 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.

Usage

Quick start

  • 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}"
}

TODO

Completed

  • Commonly used maven repositories
  • Commonly used dependencies/ libs
  • Automatically setup Java version
  • Kotlin/ Scala/ Groovy support

High priority

  • Run server
  • Plugin metadata (description) validate/ setup

Low priority

  • Custom jar relocate and shade
  • Paperweight integration
  • Setup plugin Internals
  • Gradle 7.x support
  • and more...

About

Just a Gradle plugin for Minecraft plugin development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0