Enonic Market Enonic Market
Util lib icon

Util lib

Essential tools for your XP project development

The UTIL library is a library built and hosted by Enonic, which includes a set of utility functions which may speed up the module development process significantly.


  1. 1.1.1

    • Fixed gradle.properties comments
    • Removed getSiteConfig since this exists in portal lib now
    • Compatibility:
      • 6.3.1
  2. 1.1.0

    • Added getSiteConfig function
    • Renamed util.js to index.js for shorter include paths
    • Group xp libs in libs variable
    • Upgrade gradle wrapper from 2.2 to 2.9
    • Compatibility:
      • 6.3.1
  3. 1.0.0

    • Initial release
    • Compatibility:
      • 6.0.0


Download Util lib

An XP library is normally included in your application through the Gradle build script like this:

dependencies {
    include 'com.enonic.lib:util:1.1.1'

Download the source code for Util lib

Documentation for Util lib