Skip to content

0.5.0

Latest
Compare
Choose a tag to compare
@MJaroslav MJaroslav released this 17 Mar 22:47
ca6be6f

0.5.0 - 2024-03-18

Added

  • deobf function variant with Closure for "pure" dependency.
  • deobf function with Dependency object as argument.
  • Clean tasks:
    • cleanDeobfCache - remove all deobfuscated artifacts cache (just run next two tasks).
    • cleanLocalDeobfCache - remove local (in project build directory) deobfuscated artifacts cache.
    • cleanGlobalDeobfCache - remove global (in Gradle home caches) deobfuscated artifacts cache.
  • Deobfuscated dependencies now have version
    suffix: _deobfuscated_with_{MAPPINGS_CHANNEL}_{MAPPINGS_VERSION}-{MC_VERSION} for "pure" artifacts
    and _deobfuscated_with_DIRTY for "dirty" artifacts.
  • Now deobfuscated artifacts location contains subdirectories with group, name and version like as in maven.
  • Bon2Task now have "reverse" option (maybe buggy).
  • All deobfuscation performs after project evaluation or on resolve request (extension option).
  • Extension option for forcing saving all deobfuscated artifacts locally in project (mark all as "dirty").

Fixed

Changed

  • Support Gradle 8.5 (tested).
  • deobf function now create Dependency object instead of Provider<Dependency>.
  • MappingProvider:
    • Some helper functions: CSV file to Map<String, String> parser and task executor.
    • Now contains two functions: one for "pure" mapping name and second for "dirty" mapping Map<String, String>.
      "pure" has a higher priority than "dirty" function.
  • force options in extension changed like as MappingProvider.
  • Maximum abstraction from Internal classes (but not fully).
  • Some additions in tests.

Removed

  • Internal implementation of Provider<Dependency>.