Skip to content

Vineflower for Loom 1.11.0

Latest
Compare
Choose a tag to compare
@Juuxel Juuxel released this 11 Jul 21:31
· 3 commits to master since this release
80a0b9d

Added

  • New API under juuxel.vineflowerforloom.api, with some renames:

    Type renames
    Old New
    LoomQuiltflowerPlugin VineflowerPlugin
    QuiltflowerExtension (quiltflower) VineflowerExtension (vineflower)
    QuiltflowerPreferences DecompilerPreferences
    QuiltflowerSource DecompilerSource
    Property renames
    Old New
    quiltflower.quiltflowerVersion vineflower.toolVersion
    quiltflower.source vineflower.toolSource
  • Support for decompiler brands (DecompilerBrand): the name of the decompiler, i.e. either "Vineflower" or "Quiltflower"

    • Can be set using the vineflower.brand property, but automatically detected from the version in both cases
    • Affects dependency resolution
  • SourceFactory.fromOfficialRepository() to resolve Vineflower from its official repository for that version (and optionally, brand)

  • vineflower.fromLatestSnapshot() for automatically using the latest official VF snapshot version

  • vineflower.fromOfficialRepository() for resolving the decompiler from the correct repository for the version and brand combination

  • gradle.properties: Resolving decompiler preferences with the key vineflower.preference.[preference id]

    • Overrides loom-quiltflower.preference.[id] properties

Changed

  • The default version of Vineflower is now 1.9.1
  • The default source for resolving the decompiler is now equivalent to fromOfficialRepository()
  • Deprecations
    • The old API under the juuxel.loomquiltflower package is now deprecated
    • Deprecated the quiltflower extension and the io.github.juuxel.loom-quiltflower plugin
    • Deprecated SourceFactory.fromQuiltMaven() and SourceFactory.fromQuiltSnapshotMaven() in favour of fromOfficialRepository()
    • Deprecated vineflower.fromLatestQuiltSnapshot() in favour of fromLatestSnapshot()
    • Deprecated quiltflower.quiltflowerVersion in favour of vineflower.toolVersion
    • Deprecated quiltflower.source in favour of vineflower.toolSource
    • Deprecated loom-quiltflower.preference.xyz in gradle.properties in favour of vineflower.preference.xyz