Search Gradle plugins

Version 0.2.2-Beta (latest)

Created 20 August 2020.

A Gradle plugin to simplify deployment of Minecraft Mods to the ModMaven

Add this plugin to your build using the plugins DSL:

plugins {
  id("nl.elec332.gradle.minecraft.modmaven") version "0.2.2-Beta"
}

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