Search Gradle plugins

io.papermc.paperweight.userdev

Owner: PaperMC

Gradle plugin for developing Paper plugins using server internals

https://github.com/PaperMC/paperweight

Sources: https://github.com/PaperMC/paperweight

Version 2.0.0-beta.8 (latest)

Created 21 December 2024.

Gradle plugin for developing Paper plugins using server internals

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.papermc.paperweight.userdev") version "2.0.0-beta.8"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:2.0.0-beta.8")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.papermc.paperweight.userdev")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:2.0.0-beta.8")
      }
    }
    
    apply(plugin = "io.papermc.paperweight.userdev")
  • Applying plugins to all subprojects .