Class ModrinthDependency

java.lang.Object
io.github.smootheez.modrinth.ModrinthDependency

public class ModrinthDependency extends Object
Represents a single dependency entry for a Modrinth project upload.

Each dependency specifies another Modrinth project that this mod relies on, optionally, requires, conflicts with, or embeds. Instances are created and managed through ModrinthConfig.

  • Constructor Details

    • ModrinthDependency

      @Inject public ModrinthDependency(String name)
      Constructs a Modrinth dependency wrapper with the given internal name.
      Parameters:
      name - the name used to register this dependency inside Gradle's container