FabricMC / fabric-loom

Gradle build system plugin used to automate the setup of a minecraft mod development environment.
MIT License
233 stars 201 forks source link

Add Vineflower support #951

Closed modmuss50 closed 12 months ago

modmuss50 commented 12 months ago

Adds support for the Vineflower decompiler hosted on Maven central. The code is based off the exisitng fernflower support, each decompiler is split into its own sourceset and lazily downloaded from maven.

Custom vineflower versions can be specifed like so.

dependencies {
    vineflowerDecompilerClasspath "org.vineflower:vineflower:1.9.3"
}

The existing loom decompiler API is left unchnaged, and can be used to configure custom options as required.

modmuss50 commented 12 months ago

Build failuire is caused by this Kotlin bug... https://youtrack.jetbrains.com/issue/KT-60879