deploying-java-sdk-bundles
Deploying Java SDK Bundles
A Java SDK deployment has one artifact: a bundle — your compiled task classes plus the SDK, packaged as a JAR (or a thin JAR alongside its dependency JARs). You build it with Gradle or Maven, then place it in a directory that the JavaCoordinator scans (jars_root) on every worker. This skill is platform-neutral; it shows the build once, then both an open-source and an Astro deployment path.
Experimental. The Java SDK is in preview. Artifact versions below are shown as
${version}; while the SDK is pre-release you may need to build the artifacts into your local Maven repository yourself (see the preview builds section).
Order of operations: build the bundle (this skill) → place it where
jars_rootpoints → configure the coordinator (configuring-airflow-language-sdks). The task code itself is authoring-java-sdk-tasks.
Build with Gradle (recommended)
Apply the SDK's Gradle plugin and declare dependencies in build.gradle:
plugins {
id("org.apache.airflow.sdk") version "${version}"
}