Skip to content

Releases: Codarama/diet-engine

Explicit Inclusion

15 Aug 14:48

Choose a tag to compare

Explicit Inclusion Pre-release
Pre-release

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

  • LibraryMinimizer is now called just Minimizer
  • The minimizer fromSources method is now just sources
  • The minimizer withLibs method is now just libs
  • forceInclude methods 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.class due to improper escaping

New Dependencies

Spring 3.2.5 is now used.
You can find all dependencies in the dependencies project.