uranusjr commented on code in PR #74701:
URL: https://github.com/apache/airflow/pull/74701#discussion_r4335764821
##########
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:
Also do we need to have an example *everywhere*? There’s one here, one in
README, and another in docs. Only one is needed, really.
--
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]