Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AdditionalFileDSL - Class in com.modrinth.minotaur.additionalfiles
-
the Nested AdditionalFiles configuration
- AdditionalFileDSL(Project) - Constructor for class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Instantiates a new additionalFiles configuration.
- additionalFiles(Action<? super AdditionalFileDSL>) - Method in class com.modrinth.minotaur.ModrinthExtension
- AdditionalFileType - Enum Class in com.modrinth.minotaur.additionalfiles
-
The enum representing the additional file types supported by Modrinth.
- ALPHA - Enum constant in enum class com.modrinth.minotaur.request.VersionType
-
Deprecated.The version is in a volatile state which could result in data loss.
- apply() - Method in class com.modrinth.minotaur.TaskModrinthSyncBody
-
Uploads a body to a project, both of which are specified in
ModrinthExtension. - apply() - Method in class com.modrinth.minotaur.TaskModrinthUpload
-
Defines what to do when the Modrinth upload task is invoked.
- apply(Project) - Method in class com.modrinth.minotaur.Minotaur
-
Creates the
ModrinthExtensionfor the project and registers themodrinthandmodrinthSyncBodytasks.
B
- BETA - Enum constant in enum class com.modrinth.minotaur.request.VersionType
-
Deprecated.The version is in an experimental state which may have bugs.
C
- com.modrinth.minotaur - package com.modrinth.minotaur
- com.modrinth.minotaur.additionalfiles - package com.modrinth.minotaur.additionalfiles
- com.modrinth.minotaur.dependencies - package com.modrinth.minotaur.dependencies
- com.modrinth.minotaur.dependencies.container - package com.modrinth.minotaur.dependencies.container
- com.modrinth.minotaur.masecla.modrinth4j.endpoints.version - package com.modrinth.minotaur.masecla.modrinth4j.endpoints.version
- com.modrinth.minotaur.request - package com.modrinth.minotaur.request
- com.modrinth.minotaur.responses - package com.modrinth.minotaur.responses
D
- DEFAULT_API_URL - Static variable in class com.modrinth.minotaur.ModrinthExtension
-
The default API URL in use for uploading.
- DEFAULT_CHANGELOG - Static variable in class com.modrinth.minotaur.ModrinthExtension
-
The default changelog if one was not provided.
- DEFAULT_TOKEN - Static variable in class com.modrinth.minotaur.ModrinthExtension
-
Deprecated.
- DEFAULT_VERSION_TYPE - Static variable in class com.modrinth.minotaur.ModrinthExtension
-
The default release type if one was not provided.
- Dependency - Class in com.modrinth.minotaur.dependencies
-
Represents the superclass for
ModDependencyandVersionDependency. - DependencyDSL - Class in com.modrinth.minotaur.dependencies.container
-
the Nested Dependencies configuration
- DependencyDSL(ObjectFactory) - Constructor for class com.modrinth.minotaur.dependencies.container.DependencyDSL
-
Instantiates a new dependencies configuration.
- DependencyType - Enum Class in com.modrinth.minotaur.dependencies
-
The enum representing the three types of dependencies supported by Modrinth.
- DEV_JAR - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a JAR containing unmapped or development code.
- devJar(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates a dev JAR AdditionalFile Container
E
- Embedded(NamedDomainObjectContainer<NamedDependency>) - Constructor for class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer.Embedded
-
Instantiates a new required object.
- EMBEDDED - Enum constant in enum class com.modrinth.minotaur.dependencies.DependencyType
-
The version contains this other project/version within it.
- ext(Project) - Static method in class com.modrinth.minotaur.Util
F
- files(File...) - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion.TemporaryCreateVersionRequest.TemporaryCreateVersionRequestBuilder
-
This method is used to add files to the request.
- files(List<File>) - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion.TemporaryCreateVersionRequest.TemporaryCreateVersionRequestBuilder
-
This method is used to add files to the request.
- files(Map<File, String>) - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion.TemporaryCreateVersionRequest.TemporaryCreateVersionRequestBuilder
-
This method is used to add files to the request.
- fromNew(ProjectVersion.ProjectDependency) - Static method in class com.modrinth.minotaur.dependencies.Dependency
- fromNew(ProjectVersion.ProjectFile) - Static method in class com.modrinth.minotaur.responses.ResponseUpload.VersionFile
-
Deprecated.
G
- gameVersions - Variable in class com.modrinth.minotaur.ModrinthExtension
- getAdditionalFileDsl() - Method in class com.modrinth.minotaur.ModrinthExtension
- getAdditionalFiles() - Method in class com.modrinth.minotaur.ModrinthExtension
- getAdditionalFileType() - Method in class com.modrinth.minotaur.additionalfiles.NamedAdditionalFile
-
Gets the AdditionalFileType as String.
- getApiUrl() - Method in class com.modrinth.minotaur.ModrinthExtension
-
This should not be changed unless you know what you're doing.
- getAuthorId() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getAutoAddDependsOn() - Method in class com.modrinth.minotaur.ModrinthExtension
- getChangelog() - Method in class com.modrinth.minotaur.ModrinthExtension
- getChangelog() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getDatePublished() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getDebugMode() - Method in class com.modrinth.minotaur.ModrinthExtension
- getDependencies() - Method in class com.modrinth.minotaur.ModrinthExtension
- getDependencies() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getDependency() - Method in class com.modrinth.minotaur.dependencies.container.NamedDependency
-
Return this as a never null
VersionDependencyorModDependencydepending on which id is set. - getDependencyType() - Method in class com.modrinth.minotaur.dependencies.container.NamedDependency
-
Gets the DependencyType as String.
- getDetectLoaders() - Method in class com.modrinth.minotaur.ModrinthExtension
- getDownloads() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getEmbedded() - Method in class com.modrinth.minotaur.dependencies.container.DependencyDSL
-
Retrieve the reference to an
NamedDependencyContainer.Embeddedinstance. - getEndpoint() - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion
-
Returns the endpoint.
- getFailSilently() - Method in class com.modrinth.minotaur.ModrinthExtension
- getFile() - Method in class com.modrinth.minotaur.additionalfiles.NamedAdditionalFile
- getFile() - Method in class com.modrinth.minotaur.ModrinthExtension
-
The upload artifact file.
- getFilename() - Method in class com.modrinth.minotaur.responses.ResponseUpload.VersionFile
-
Deprecated.
- getFiles() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getGameVersions() - Method in class com.modrinth.minotaur.ModrinthExtension
- getGameVersions() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getHashes() - Method in class com.modrinth.minotaur.responses.ResponseUpload.VersionFile
-
Deprecated.
- getId() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getIncompatible() - Method in class com.modrinth.minotaur.dependencies.container.DependencyDSL
-
Retrieve the reference to an
NamedDependencyContainer.Incompatibleinstance. - getLoaders() - Method in class com.modrinth.minotaur.ModrinthExtension
- getLoaders() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getMethod() - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion
-
Returns the method to use.
- getName() - Method in class com.modrinth.minotaur.additionalfiles.NamedAdditionalFile
- getName() - Method in class com.modrinth.minotaur.dependencies.container.NamedDependency
- getName() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getNamedAdditionalFilesAsList() - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Returns the complete NamedAdditionalFile container set mapped and collected as a List<AdditionalFile>
- getNamedDependenciesAsList() - Method in class com.modrinth.minotaur.dependencies.container.DependencyDSL
-
Returns the complete NamedDependency container set mapped and collected as a List<Dependency>
- getOptional() - Method in class com.modrinth.minotaur.dependencies.container.DependencyDSL
-
Retrieve the reference to an
NamedDependencyContainer.Optionalinstance. - getProjectId() - Method in class com.modrinth.minotaur.dependencies.ModDependency
- getProjectId() - Method in class com.modrinth.minotaur.dependencies.VersionDependency
- getProjectId() - Method in class com.modrinth.minotaur.ModrinthExtension
- getProjectId() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getRequestClass() - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion
-
Returns the request class to use.
- getRequired() - Method in class com.modrinth.minotaur.dependencies.container.DependencyDSL
-
Retrieve the reference to an
NamedDependencyContainer.Requiredinstance. - getResponseClass() - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion
-
Returns the response class to use.
- getSyncBodyFrom() - Method in class com.modrinth.minotaur.ModrinthExtension
- getToken() - Method in class com.modrinth.minotaur.ModrinthExtension
-
Make sure you keep this private!
- getUploadFile() - Method in class com.modrinth.minotaur.ModrinthExtension
- getUrl() - Method in class com.modrinth.minotaur.responses.ResponseUpload.VersionFile
-
Deprecated.
- getVersionId() - Method in class com.modrinth.minotaur.dependencies.VersionDependency
- getVersionName() - Method in class com.modrinth.minotaur.ModrinthExtension
- getVersionNumber() - Method in class com.modrinth.minotaur.ModrinthExtension
- getVersionNumber() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getVersionType() - Method in class com.modrinth.minotaur.ModrinthExtension
- getVersionType() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- getWiredInputFiles() - Method in class com.modrinth.minotaur.TaskModrinthUpload
-
Input property used to add automatic task dependencies.
I
- Incompatible(NamedDomainObjectContainer<NamedDependency>) - Constructor for class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer.Incompatible
-
Instantiates a new incompatible object.
- INCOMPATIBLE - Enum constant in enum class com.modrinth.minotaur.dependencies.DependencyType
-
The version is not compatible with the project/version and will not work when both are used.
- isFeatured() - Method in class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.
- isPrimary() - Method in class com.modrinth.minotaur.responses.ResponseUpload.VersionFile
-
Deprecated.
J
- JAVADOC_JAR - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a JAR containing Javadoc documentation.
- javadocJar(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates a Javadoc JAR AdditionalFile Container
L
- loaders - Variable in class com.modrinth.minotaur.ModrinthExtension
M
- Minotaur - Class in com.modrinth.minotaur
-
The main class for Minotaur.
- Minotaur() - Constructor for class com.modrinth.minotaur.Minotaur
- ModDependency - Class in com.modrinth.minotaur.dependencies
-
Class for making a dependency on a mod.
- ModDependency(String, DependencyType) - Constructor for class com.modrinth.minotaur.dependencies.ModDependency
-
Creates a new project relationship.
- ModDependency(String, String) - Constructor for class com.modrinth.minotaur.dependencies.ModDependency
-
Creates a new project relationship.
- ModrinthExtension - Class in com.modrinth.minotaur
-
Class defining the extension used for configuring
TaskModrinthUpload. - ModrinthExtension(Project) - Constructor for class com.modrinth.minotaur.ModrinthExtension
N
- NamedAdditionalFile - Class in com.modrinth.minotaur.additionalfiles
-
Defines a Named AdditionalFile for our NamedAdditionalFileContainer.
- NamedAdditionalFile(AdditionalFileType, RegularFile) - Constructor for class com.modrinth.minotaur.additionalfiles.NamedAdditionalFile
-
Instantiates a new NamedAdditionalFile.
- NamedDependency - Class in com.modrinth.minotaur.dependencies.container
-
Defines a Named Dependency for our NamedDependencyContainer.
- NamedDependency(String, String, DependencyType) - Constructor for class com.modrinth.minotaur.dependencies.container.NamedDependency
-
Instantiates a new NamedDependency.
- NamedDependencyContainer - Class in com.modrinth.minotaur.dependencies.container
-
The root NamedDependencyContainer class
- NamedDependencyContainer(NamedDomainObjectContainer<NamedDependency>, DependencyType) - Constructor for class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer
-
Instantiates a new Dependency object.
- NamedDependencyContainer.Embedded - Class in com.modrinth.minotaur.dependencies.container
-
Embedded DependencyType container class
- NamedDependencyContainer.Incompatible - Class in com.modrinth.minotaur.dependencies.container
-
Incompatible DependencyType container class
- NamedDependencyContainer.Optional - Class in com.modrinth.minotaur.dependencies.container
-
Optional DependencyType container class
- NamedDependencyContainer.Required - Class in com.modrinth.minotaur.dependencies.container
-
Required DependencyType container class
- newVersion - Variable in class com.modrinth.minotaur.TaskModrinthUpload
-
The response from the API when the file was uploaded successfully.
O
- Optional(NamedDomainObjectContainer<NamedDependency>) - Constructor for class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer.Optional
-
Instantiates a new optional object.
- OPTIONAL - Enum constant in enum class com.modrinth.minotaur.dependencies.DependencyType
-
The version has additional functionality when the project/version is present.
- OPTIONAL_RESOURCE_PACK - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a resource pack file that can be used alongside the file.
- optionalResourcePack(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates an optional resource pack AdditionalFile Container
- other(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates another AdditionalFile Container
- OTHER - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a different type of additional file.
P
- project(String...) - Method in class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer
-
Creates an incompatible Dependency Container and applies the projectId property
R
- RELEASE - Enum constant in enum class com.modrinth.minotaur.request.VersionType
-
Deprecated.The version is in a stable state.
- Required(NamedDomainObjectContainer<NamedDependency>) - Constructor for class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer.Required
-
Instantiates a new required object.
- REQUIRED - Enum constant in enum class com.modrinth.minotaur.dependencies.DependencyType
-
The version requires an instance of the project/version to work.
- REQUIRED_RESOURCE_PACK - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a resource pack file that must be used alongside the file.
- requiredResourcePack(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates a required resource pack AdditionalFile Container
- resolveFileProperty(Project, Object) - Static method in class com.modrinth.minotaur.Util
- resolveVersionNumber(Project) - Static method in class com.modrinth.minotaur.Util
-
Safely resolves the version number.
- ResponseUpload - Class in com.modrinth.minotaur.responses
-
Deprecated.
- ResponseUpload(ProjectVersion) - Constructor for class com.modrinth.minotaur.responses.ResponseUpload
-
Deprecated.Constructs a
ResponseUploadfrom aProjectVersion - ResponseUpload.VersionFile - Class in com.modrinth.minotaur.responses
-
Deprecated.A single version file.
S
- sendRequest(TemporaryCreateVersion.TemporaryCreateVersionRequest, Map<String, String>) - Method in class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion
-
This method will send the request.
- signature(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates a signature AdditionalFile Container
- SIGNATURE - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a signature file (asc, gpg, or sig).
- SOURCES_JAR - Enum constant in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
The file is a JAR containing source code.
- sourcesJar(Object) - Method in class com.modrinth.minotaur.additionalfiles.AdditionalFileDSL
-
Creates a sources JAR AdditionalFile Container
- STAGING_API_URL - Static variable in class com.modrinth.minotaur.ModrinthExtension
-
The staging API URL if desired for testing.
T
- TaskModrinthSyncBody - Class in com.modrinth.minotaur
-
A task used to communicate with Modrinth for the purpose of syncing project body with, for example, a README.
- TaskModrinthSyncBody() - Constructor for class com.modrinth.minotaur.TaskModrinthSyncBody
- TaskModrinthUpload - Class in com.modrinth.minotaur
-
A task used to communicate with Modrinth for the purpose of uploading build artifacts.
- TaskModrinthUpload() - Constructor for class com.modrinth.minotaur.TaskModrinthUpload
- TemporaryCreateVersion - Class in com.modrinth.minotaur.masecla.modrinth4j.endpoints.version
-
This endpoint is used to create a new version.
- TemporaryCreateVersion(Project) - Constructor for class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion
-
This constructor is used to create a new instance of the endpoint.
- TemporaryCreateVersion.TemporaryCreateVersionRequest - Class in com.modrinth.minotaur.masecla.modrinth4j.endpoints.version
-
This class is used to represent the request.
- TemporaryCreateVersion.TemporaryCreateVersionRequest.TemporaryCreateVersionRequestBuilder - Class in com.modrinth.minotaur.masecla.modrinth4j.endpoints.version
-
This class is used to build the request.
- TemporaryCreateVersionRequest() - Constructor for class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion.TemporaryCreateVersionRequest
- TemporaryCreateVersionRequestBuilder() - Constructor for class com.modrinth.minotaur.masecla.modrinth4j.endpoints.version.TemporaryCreateVersion.TemporaryCreateVersionRequest.TemporaryCreateVersionRequestBuilder
- toNew(ModrinthAPI) - Method in class com.modrinth.minotaur.dependencies.Dependency
- toString() - Method in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
- toString() - Method in enum class com.modrinth.minotaur.dependencies.DependencyType
U
- uploadInfo - Variable in class com.modrinth.minotaur.TaskModrinthUpload
-
Deprecated.Please use
TaskModrinthUpload.newVersioninstead - Util - Class in com.modrinth.minotaur
-
Internal utility methods to make things easier and deduplicated
- Util() - Constructor for class com.modrinth.minotaur.Util
V
- valueOf(String) - Static method in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.modrinth.minotaur.dependencies.DependencyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.modrinth.minotaur.request.VersionType
-
Deprecated.Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.modrinth.minotaur.additionalfiles.AdditionalFileType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.modrinth.minotaur.dependencies.DependencyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.modrinth.minotaur.request.VersionType
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- version(String...) - Method in class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer
-
Creates a incompatible Dependency Container and applies the versionId property
- version(String, String) - Method in class com.modrinth.minotaur.dependencies.container.NamedDependencyContainer
-
Creates a incompatible Dependency Container and applies the versionId property
- VersionDependency - Class in com.modrinth.minotaur.dependencies
-
Class for making a dependency on a specific version.
- VersionDependency(String, DependencyType) - Constructor for class com.modrinth.minotaur.dependencies.VersionDependency
-
Creates a new version relationship.
- VersionDependency(String, String) - Constructor for class com.modrinth.minotaur.dependencies.VersionDependency
-
Creates a new version relationship.
- VersionDependency(String, String, DependencyType) - Constructor for class com.modrinth.minotaur.dependencies.VersionDependency
-
Creates a new version relationship.
- VersionDependency(String, String, String) - Constructor for class com.modrinth.minotaur.dependencies.VersionDependency
-
Creates a new version relationship.
- VersionFile() - Constructor for class com.modrinth.minotaur.responses.ResponseUpload.VersionFile
-
Deprecated.
- VersionType - Enum Class in com.modrinth.minotaur.request
-
Deprecated.Please use
ProjectVersion.VersionType
W
- wasUploadSuccessful() - Method in class com.modrinth.minotaur.TaskModrinthUpload
-
Deprecated.This check should be done manually
All Classes and Interfaces|All Packages|Constant Field Values
ProjectVersion