Search Gradle plugins

eu.hexagonmc.gradle.spigot.annotation

Generates Spigot metadata files (plugin.yml and bungee.yml) from source code using Spigot-Annotations project

https://github.com/HexagonMC/Spigot-Gradle

Sources: https://github.com/HexagonMC/Spigot-Gradle.git

Version 1.3 (latest)

Created 08 October 2018.

Generates Spigot metadata files (plugin.yml and bungee.yml) from source code using Spigot-Annotations project

Add this plugin to your build using the plugins DSL:

plugins {
  id("eu.hexagonmc.gradle.spigot.annotation") version "1.3"
}

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