Releases: MJaroslav/Bon2Gradle
Releases · MJaroslav/Bon2Gradle
0.5.0
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
- Issue #1 (ignoring :: references on remapping) by
using GTNewHorizons/BON2
fork.
Changed
- Support Gradle 8.5 (tested).
deobf
function now createDependency
object 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
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>
.
0.4.0
0.3.1
0.3.0
0.3.0 - 2022-10-14
Fixed
- Sometimes deobfuscated jars not appear in their dir. Task
clean
just removes it. Now, deobfuscated jars directory
moved to caches in gradle home.
Added
- Parallel dependency deobfuscation.
- With toggle option in
bon2
extension.
- With toggle option in
Edited
- Package structure refactor.
- Using GradleException based exceptions in "dependency resolving/deobfuscation code".