Search Gradle plugins

me.bristermitten.pdm

Sets up PDM to automatically download any dependencies for Spigot plugins

https://github.com/knightzmc/pdm

Sources: https://github.com/knightzmc/pdm

Version 0.0.25

Created 27 August 2020.

Sets up PDM to automatically download any dependencies for Spigot plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("me.bristermitten.pdm") version "0.0.25"
}

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