Add NeoForge support and switch from closure to action #2

Merged
KP2048 merged 3 commits from master into master 2024-06-02 16:45:00 +02:00
KP2048 commented 2024-05-30 04:03:46 +02:00 (Migrated from github.com)

This pr adds NeoForge support, as well as switch references to the groovy specific Closure class to gradle's Action interface. Without this change it's actually quite a pain to use this with kotlin DSL, as you can't just use a lambda, you have to do some bs with making instances of things...
This fixes that. Unlike Forge, NeoForge doesn't put mixin related stuff in the manifest, it puts it in the neoforge.mods.toml, so everything gets remapped properly without extra handling like forge has.

This pr adds NeoForge support, as well as switch references to the groovy specific `Closure` class to gradle's `Action` interface. Without this change it's actually quite a pain to use this with kotlin DSL, as you can't just use a lambda, you have to do some bs with making instances of things... This fixes that. Unlike Forge, NeoForge doesn't put mixin related stuff in the manifest, it puts it in the `neoforge.mods.toml`, so everything gets remapped properly without extra handling like forge has.
Sign in to join this conversation.
No description provided.