github.com/apache/beam/sdks/v2@v2.48.2/java/io/cdap/build.gradle (about) 1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * License); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an AS IS BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 19 plugins { 20 id 'java' 21 id 'org.apache.beam.module' 22 } 23 24 applyJavaNature( 25 automaticModuleName: 'org.apache.beam.sdk.io.cdap', 26 ) 27 provideIntegrationTestingDependencies() 28 enableJavaPerformanceTesting() 29 30 description = "Apache Beam :: CDAP :: Java" 31 ext.summary = """Apache Beam SDK provides a simple, Java-based 32 interface for integration with CDAP plugins.""" 33 34 /** Define the list of runners which execute a precommit test. 35 * Some runners are run from separate projects, see the preCommit task below 36 * for details. 37 */ 38 39 dependencies { 40 implementation library.java.cdap_api 41 implementation library.java.cdap_api_commons 42 implementation (library.java.cdap_common) { 43 exclude module: 'log4j-over-slf4j' 44 } 45 implementation library.java.cdap_etl_api 46 implementation library.java.cdap_etl_api_spark 47 implementation library.java.cdap_hydrator_common 48 implementation library.java.cdap_plugin_hubspot 49 implementation library.java.cdap_plugin_salesforce 50 implementation library.java.cdap_plugin_service_now 51 implementation library.java.cdap_plugin_zendesk 52 implementation library.java.commons_lang3 53 implementation library.java.guava 54 implementation library.java.hadoop_common 55 implementation library.java.hadoop_mapreduce_client_core 56 implementation library.java.jackson_core 57 implementation library.java.jackson_databind 58 implementation library.java.slf4j_api 59 implementation library.java.spark_streaming 60 implementation library.java.tephra 61 implementation library.java.vendored_guava_26_0_jre 62 implementation project(path: ":sdks:java:core", configuration: "shadow") 63 implementation project(":sdks:java:io:sparkreceiver:2") 64 implementation project(":sdks:java:io:hadoop-format") 65 testImplementation library.java.cdap_plugin_service_now 66 testImplementation library.java.cdap_etl_api 67 testImplementation library.java.hadoop_common 68 testImplementation library.java.vendored_guava_26_0_jre 69 testImplementation library.java.junit 70 testImplementation library.java.mockito_core 71 testImplementation library.java.testcontainers_postgresql 72 testImplementation project(path: ":sdks:java:extensions:avro", configuration: "testRuntimeMigration") 73 testImplementation project(path: ":sdks:java:io:hadoop-common", configuration: "testRuntimeMigration") 74 testImplementation project(path: ":sdks:java:io:hadoop-format", configuration: "testRuntimeMigration") 75 testImplementation project(path: ":sdks:java:testing:test-utils", configuration: "testRuntimeMigration") 76 testImplementation project(path: ":runners:direct-java", configuration: "shadow") 77 testImplementation project(path: ":sdks:java:io:common", configuration: "testRuntimeMigration") 78 }