uranusjr commented on code in PR #74701:
URL: https://github.com/apache/airflow/pull/74701#discussion_r4335588639
##########
java-sdk/sdk/module.md:
##########
@@ -19,7 +19,63 @@
under the License.
-->
-The Apache Airflow Java SDK — author and run Airflow task implementations in
JVM languages.
+Write Apache Airflow Dags and tasks in Java, Kotlin, Scala or any other JVM
language.
+
+It requires Java 11 or later.
+
+## Quick start
+
+Apply the Gradle plugin, and add the SDK and its annotation processor:
+
+```groovy
+plugins {
+ id("org.apache.airflow.sdk") version "1.0.0"
+}
+
+dependencies {
+ annotationProcessor("org.apache.airflow:airflow-sdk-processor:1.0.0")
+ implementation("org.apache.airflow:airflow-sdk:1.0.0")
+}
+
+airflowBundle {
+ mainClass = "com.mycompany.airflow.hello.Main"
+}
+```
Review Comment:
Is there a better way to keep these versions in sync? I don’t like these are
hard-coded and can go out of sync quickly (and they don’t even currently work).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]