Skip to content

Installing the CPG library

You can install the library from pre-built releases or build it from the source code.

Get Pre-Built Releases

You can find the releases in our gitHub repository or on maven.

Building from Source

  1. Clone the repository from GitHub with git clone git@github.com:Fraunhofer-AISEC/cpg.git.
  2. Generate a gradle.properties file locally. We provide a sample file here, or you can use the configure_frontends.sh scripts to generate the file.
  3. Build the project using ./gradlew build or install it with ./gradlew installDist. You could also build selected submodules.