Gradle Build

compared with
Current by Patrick Corless
on Mar 08, 2017 15:17.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 4 changes. View first change.

 h4. Overview
 Gradle can be used to build the ICEpdf core and viewer projects. The project summary is as follows:
  Gradle can be used to build the ICEpdf core, viewer and example 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 ':examples'
 | +--- Project ':examples:annotation'
 | | +--- Project ':examples:annotation:callback' - aannotation callback example
 | | \--- Project ':examples:annotation:creation' - annotation creation example
 | +--- Project ':examples:capture'
 | | +--- Project ':examples:capture:listener' - direcotry listener for auto image capture
 | | +--- Project ':examples:capture:png' - pdf to png image example
 | | +--- Project ':examples:capture:portfolio' - portfolio pdf to png image example
 | | +--- Project ':examples:capture:svg' - pdf to svg example
 | | +--- Project ':examples:capture:tiff' - pdf to tiff image example
 | | \--- Project ':examples:capture:watermark' - pdf to png image with watermark example
 | +--- Project ':examples:component' - viewer component example
 | +--- Project ':examples:extraction'
 | | +--- Project ':examples:extraction:image' - document image extraction example
 | | +--- Project ':examples:extraction:metadata' - document metadata extraction example
 | | \--- Project ':examples:extraction:text' - document text extraction example
 | +--- Project ':examples:javafx' - javafx SwingNode example
 | +--- Project ':examples:loadingEvents' - page loading event example
 | +--- Project ':examples:printservices' - java print services example
 | +--- Project ':examples:search'
 | | +--- Project ':examples:search:component' - search highlight example
 | | \--- Project ':examples:search:headless' - headless search highlight example
 | \--- Project ':examples:signatures' - signature validation example
 \--- 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 annotation creation example using the following Gradle command
 {code}
 ~$ gradle :examples:annotation:creation: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.

© Copyright 2017 ICEsoft Technologies Canada Corp.