ToxopidJavaPlugin

class ToxopidJavaPlugin : Plugin<Project>

This plugin is responsible for handling the bundling of the mod jar:

  • If only the java plugin is present, the jar task is used.

  • If the shadow plugin is present alongside the java plugin, the shadowJar task is used.

For each configured target platform MindustryExec tasks, the jar is added to the mods list.

Finally, if android is in the target platforms, the jar is dexed and merged in the mergeJar task. If not, the mergeJar task is equivalent to the jar task.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun apply(project: Project)