Class MinecraftDependenciesPlugin

java.lang.Object
net.neoforged.minecraftdependencies.MinecraftDependenciesPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class MinecraftDependenciesPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Applies defaults for the Gradle attributes introduced by the Minecraft Dependencies modules.

The defaults are:

  • net.neoforged.distribution defaults to client
  • net.neoforged.operatingsystem defaults to the current operating system
  • Constructor Details

    • MinecraftDependenciesPlugin

      public MinecraftDependenciesPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>