Search Gradle plugins

Version 2.0.0-beta.8 (latest)

Created 21 December 2024.

Gradle plugin for developing Paper derivatives

Add this plugin to your build using the plugins DSL:

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