Search Gradle plugins

org.spongepowered.gradle.plugin

Gradle plugin providing integration for plugins made for the Sponge platform

https://spongepowered.org/

Version 2.0.0 (latest)

Created 04 September 2021.

Set up a project for building Sponge plugins

Using the plugins DSL:

plugins {
  id "org.spongepowered.gradle.plugin" version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.spongepowered:spongegradle-plugin-development:2.0.0"
  }
}

apply plugin: "org.spongepowered.gradle.plugin"

Using the plugins DSL:

plugins {
  id("org.spongepowered.gradle.plugin") version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.spongepowered:spongegradle-plugin-development:2.0.0")
  }
}

apply(plugin = "org.spongepowered.gradle.plugin")

Learn how to apply plugins to subprojects