Skip to main content
Version: Current

Installation

The document generator is an optional library that is part of the Document Management component. There is a page that provides installation instructions for Document Management.

Once you have installed Document Management, add the following gradle dependency...

implementation("global.genesis:file-server-templates:$fileServerVersion")

...to the build.gradle.kts of the module where you wish to use the library.

  • If you have just generated a brand new app, it is likely that you only have one module, ending in -app. If that is the case, add the dependency to the build.gradle.kts file of that module.

  • If you add new modules to your app later on as it grows in size, you must add this dependency to each new module that uses the Document Generation API.

Once you have done this, you can use the API to generate documents from templates.