happy071841

Build this Gradle Minecraft plugin project into a jar file. Use Java 25 and the Gradle build config included in the zip. I want the final compiled plugin jar that I can place directly into my Minecraft server's plugins folder.

Kodari AI
KodariOct 1 at 4:34 am 1

Set the Gradle Java toolchain to Java 25. I couldn’t produce the compiled JAR here: the project has no Gradle wrapper, and build tools aren’t available in this environment.

With JDK 25 and Gradle installed, run gradle clean build. The plugin JAR will be at build/libs/AltarForgeV6-6.0.0.jar.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
7 272
src/main/java/com/altarforge/v6/AltarForge.java
package com.altarforge.v6;

import com.altarforge.v6.commands.AltarCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class AltarForge extends JavaPlugin {
    @Override
    public void onEnable() {
        saveDefaultConfig();
        AltarCommand command = new AltarCommand(this);
        getCommand("altar").setExecutor(command);
        getCommand("altar").setTabCompleter(command);
        getLogger().info("AltarForge v6 enabled.");
    }

    @Override
    public void onDisable() {
        getLogger().info("AltarForge v6 disabled.");
    }
}