Search Gradle plugins

Version 1.0.0 (latest)

Created 09 August 2022.

Plugin for publishing addon artifacts to the Galacticraft Maven Repo

Add this plugin to your build using the plugins DSL:

plugins {
  id("net.galacticraft.addon.publish") version "1.0.0"
}

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