All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.5.0 - 2024-03-18
deobffunction variant with Closure for "pure" dependency.deobffunction 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_DIRTYfor "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").
- Issue #1 (ignoring :: references on remapping) by using GTNewHorizons/BON2 fork.
- Support Gradle 8.5 (tested).
deobffunction now createDependencyobject instead ofProvider<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.
- Some helper functions: CSV file to
forceoptions in extension changed like as MappingProvider.- Maximum abstraction from Internal classes (but not fully).
- Some additions in tests.
- Internal implementation of
Provider<Dependency>.
0.4.0 - 2022-10-17
- Full switch to using kotlin as build script and source language.
0.3.1 - 2022-10-16
- Project configuration error with "Plugin class is abstract" error on some versions of Gradle.
0.3.0 - 2022-10-14
- Sometimes deobfuscated jars not appear in their dir. Task
cleanjust removes it. Now, deobfuscated jars directory moved to caches in gradle home.
- Parallel dependency deobfuscation.
- With toggle option in
bon2extension.
- With toggle option in
- Package structure refactor.
- Using GradleException based exceptions in "dependency resolving/deobfuscation code".
0.2.0 - 2022-10-10
- BON resolving problem by using my own fork of this library.
0.1.0 - 2022-10-09
- You can wrap your dependency in
bon2.deobfmethod for deobfuscate it. - Gradle extension with configuration.
- Force mappings.
- Mappings provider (if you use another MC dev plugin).
- Bon2Task for use BON2 in Gradle.