Package net.neoforged.moddevgradle.internal
package net.neoforged.moddevgradle.internal
-
ClassDescriptionWe generally will use "client" dependencies when we have to decide between client and server, since client libraries will usually be a superset of the server libraries.The main plugin class.Extends the basic taks for running NFRT with the properties that apply to all subcommands working with NeoForge or NeoForm data.Base task implementation for running the NFRT CLI, regardless of which sub-command is used.This disambiguation rule will select native dependencies based on the operating system Gradle is currently running on.This plugin acts in different roles depending on where it is applied: At the project-level, it will add the required repositories for moddev. At the settings-level, it will add the required repositories to the dependency management block, and add a marker plugin to the Gradle instance to prevent the repositories from being added again at the project-level.By extending JavaExec, we allow IntelliJ to automatically attach a debugger to the forked JVM, making these runs easy and nice to work with.