Package io.github.smootheez
Class McModPublisherPlugin
java.lang.Object
io.github.smootheez.McModPublisherPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class McModPublisherPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin that registers tasks and configuration required to publish
Minecraft mods to Modrinth and CurseForge.
When applied, this plugin creates the mcModPublisher extension,
initializes an HTTP client used by publishers, and registers tasks for
uploading mods to individual or multiple platforms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) Applies the plugin to the target Gradle project by registering the extension and creating the publishing tasks.
-
Constructor Details
-
McModPublisherPlugin
public McModPublisherPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) Applies the plugin to the target Gradle project by registering the extension and creating the publishing tasks.- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>- Parameters:
project- the Gradle project to configure
-