Class JarBuilder

java.lang.Object
com.elo.gradle.osgi.utils.JarBuilder

public class JarBuilder extends Object
Builder class for the creation of jars
  • Method Details

    • addDeclarativeServices

      public File addDeclarativeServices(File jar, List<String> dsXmlPaths)
      Adds declarative OSGI service descriptions to a Jar.
      Parameters:
      jar - the jar
      dsXmlPaths - the paths to the service descriptions
      Returns:
      the created jar
    • newInstance

      public static JarBuilder newInstance()