Search Gradle plugins

Version 2.0.2 (latest)

2.0.2

Created 28 October 2015.

Gradle plugin for all Minecraft mod development needs

Using the plugins DSL:

plugins {
  id("net.minecraftforge.gradle.launch4j") version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.net.minecraftforge.gradle:ForgeGradle:2.0.2")
  }
}

apply(plugin = "net.minecraftforge.gradle.launch4j")

Using the plugins DSL:

plugins {
  id "net.minecraftforge.gradle.launch4j" version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.minecraftforge.gradle:ForgeGradle:2.0.2"
  }
}

apply plugin: "net.minecraftforge.gradle.launch4j"

Learn how to apply plugins to subprojects