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:
| Setting | Value |
|---|---|
| Groovy compiler | 2.4.21 |
| Java toolchain | 17 |
| Bytecode target | release 8 |
Clone the repository
bash
git clone https://github.com/iflowkit/iflowkit.git
cd iflowkitIf 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-emailThe output is written under:
text
build/libs/{jarName}-{version}.jarFor the sample package, the JAR metadata is driven by packages/iflowkit-email/iflowkit/package.json.
Run buildSrc tests
bash
gradle :buildSrc:testUnderstand the package manifest
Every package has a manifest:
text
packages/{pkg}/iflowkit/package.jsonThe 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
- Learn the repository structure.
- Review package and manifest concepts.
- Read the Email package reference.