From d24a85e63e82159ff5534123f05097104cf964d3 Mon Sep 17 00:00:00 2001 From: Damon Douglas Date: Wed, 27 Sep 2023 23:06:16 +0000 Subject: [PATCH] Create RequestResponseIO gradle project --- sdks/java/io/rrio/build.gradle | 36 ++++++++++++++++++++++++++++++++++ settings.gradle.kts | 1 + 2 files changed, 37 insertions(+) create mode 100644 sdks/java/io/rrio/build.gradle diff --git a/sdks/java/io/rrio/build.gradle b/sdks/java/io/rrio/build.gradle new file mode 100644 index 000000000000..d65df370e0ca --- /dev/null +++ b/sdks/java/io/rrio/build.gradle @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * License); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +plugins { id 'org.apache.beam.module' } +applyJavaNature( + automaticModuleName: 'org.apache.beam.sdk.io.rrio' +) + +description = "Apache Beam :: SDKS :: Java :: IO :: RequestResponseIO (RRIO)" +ext.summary = "Support to read from and write to Web APIs" + +dependencies { + implementation project(path: ":sdks:java:core", configuration: "shadow") + implementation library.java.joda_time + implementation library.java.vendored_guava_32_1_2_jre + + testImplementation project(path: ":sdks:java:core", configuration: "shadowTest") + testImplementation library.java.junit + testRuntimeOnly project(path: ":runners:direct-java", configuration: "shadow") + testRuntimeOnly library.java.slf4j_jdk14 +} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 45b8c25101b5..f4901d7df92b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -255,6 +255,7 @@ include(":sdks:java:io:parquet") include(":sdks:java:io:pulsar") include(":sdks:java:io:rabbitmq") include(":sdks:java:io:redis") +include(":sdks:java:io:rrio") include(":sdks:java:io:solr") include(":sdks:java:io:sparkreceiver:2") include(":sdks:java:io:snowflake")