Search Gradle plugins

Version 0.11.5-SNAPSHOT

Created 18 June 2020.

Enables tasks for sorting specific types of things for Sponge related development

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.spongepowered.gradle.sort") version "0.11.5-SNAPSHOT"
}

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