Skip to content

Getting Started

This guide walks through the first local build workflow for iFlowKit Core.

Prerequisites

Install the following tools:

  • Java 17
  • Gradle
  • Git

The repository is configured for SAP CPI compatibility:

SettingValue
Groovy compiler2.4.21
Java toolchain17
Bytecode targetrelease 8

Clone the repository

bash
git clone https://github.com/iflowkit/iflowkit.git
cd iflowkit

If your repository URL is different, use your actual GitHub repository address.

Build a sample package

The sample package in the repository is iflowkit-email.

bash
gradle clean buildPkg -Ppkg=iflowkit-email

The output is written under:

text
build/libs/{jarName}-{version}.jar

For the sample package, the JAR metadata is driven by packages/iflowkit-email/iflowkit/package.json.

Run buildSrc tests

bash
gradle :buildSrc:test

Understand the package manifest

Every package has a manifest:

text
packages/{pkg}/iflowkit/package.json

The manifest declares:

  • package name, version and vendor
  • included systems and services
  • included plugins and plugin parameters
  • expected credential definitions

Example:

json
{
  "name": "iFlowKit-Email",
  "version": "1.0.15",
  "vendor": "iFlowKit",
  "systems": {
    "outlook": { "services": ["Mail"] }
  },
  "plugins": {
    "email": {
      "id": "com.iflowkit.plugin.email",
      "parameters": {
        "defaultSenderAddress": "no-reply@iflowkit.local"
      }
    }
  }
}

Next steps