Releases: Codarama/diet-engine
Releases · Codarama/diet-engine
Explicit Inclusion
New Features
Explicit Dependency Inclusion
You can now force the Minimizer to include dependencies explicitly:
final JarFile jar = Minimizer
.sources("/abs/path/to/java/sources")
.libs("/abs/path/to/jar/dependencies")
.forceInclude(
new ClassName("com.sun.faces.el.ELContextImpl"),
new ClassName("com.sun.faces.config.ConfigureListener")
)
.getJar();This is useful for runtime dependencies.
API Changes
LibraryMinimizeris now called justMinimizer- The minimizer
fromSourcesmethod is now justsources - The minimizer
withLibsmethod is now justlibs forceIncludemethods have been added to the minimizer
Check the wiki for the full new Minimizer API.
Bug Fixes
- nested classes no longer created under
/nested/class$/Nested$Class.classdue to improper escaping
New Dependencies
Spring 3.2.5 is now used.
You can find all dependencies in the dependencies project.