View Source

h4. Overview
Gradle can be used to build the ICEpdf core and viewer projects. The project summary is as follows:

{code}
------------------------------------------------------------
Root project
------------------------------------------------------------

Root project 'icepdf-os'
+--- Project ':core'
| \--- Project ':core:core-awt' - ICEpdf core library jar project
\--- Project ':viewer'
\--- Project ':viewer:viewer-awt' - ICEpdf viewer reference implementation project
{code}

Build the core jar using the following Gradle command
{code}
~$ gradle :core:core-awt:assemble
{code}

Build the viewer jar using the following Gradle command
{code}
~$ gradle :viewer:viewer-awt:assemble
{code}

Build the distribution zip and tar archives
{code}
# defaultTasks allows for a call to just gradle
~$ gradle
# or one can use the full task list
~$ gradle projectReport, sourcesJar, genPomFileForCoreJarPub, genPomFileForViewerJarPub, osDistZip, osDistTar
{code}

h4. Versioning
Version information is stored in the root gradle.properties file and should be updated as needed.