The Eclipse Gradle Plugin includes the necessary libraries and extensions for the Eclipse minecraft plugin, including access-widners in the development environment.
- Access Widener Integration: Automatically applies access wideners to your development environment.
- SpongePowered Mixin Support: Adds Mixin libraries automagically.
-
Add the plugin to your
build.gradle
file:plugins { id("io.github.dueris.eclipse.gradle") version "1.2.0" }
-
Configure the plugin in your
build.gradle
file:eclipse { minecraft = MinecraftVersion.MC1_21_1 wideners = files("example.accesswidener", "anotherExample.accesswidener") }
Specifies the Minecraft version. For example:
minecraft = MinecraftVersion.MC1_21_1
Defines the access wideners to be applied. Use files()
to specify the paths to your widener files. All widener files must be located within any project's src/main/resources
directory.
Example:
wideners = files("eclipse.accesswidener", "fabricapi.accesswidener")
- Java 21 or higher
- Gradle 8.6 or higher
- Access widener files in
src/main/resources
This project is licensed under GPL-3.0 with an additional permission clause: Redistribution and use in binary form are allowed, provided that explicit permission is obtained from the author for direct integration into third-party projects.
See the LICENSE file for more details.