github.com/apache/beam/sdks/v2@v2.48.2/java/io/elasticsearch-tests/elasticsearch-tests-common/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 { id 'org.apache.beam.module' } 20 applyJavaNature( 21 publish: false, 22 archivesBaseName: 'beam-sdks-java-io-elasticsearch-tests-common' 23 ) 24 25 description = "Apache Beam :: SDKs :: Java :: IO :: Elasticsearch-Tests :: Common" 26 ext.summary = "Common test classes for ElasticsearchIO" 27 28 def elastic_search_version = "7.9.2" 29 30 dependencies { 31 testImplementation library.java.jackson_databind 32 testImplementation project(path: ":sdks:java:core", configuration: "shadow") 33 testImplementation project(":sdks:java:io:elasticsearch") 34 testImplementation project(path: ":sdks:java:io:common", configuration: "testRuntimeMigration") 35 testImplementation library.java.slf4j_api 36 testImplementation library.java.hamcrest 37 testImplementation library.java.junit 38 testImplementation "org.elasticsearch.client:elasticsearch-rest-client:$elastic_search_version" 39 testImplementation "org.elasticsearch.client:elasticsearch-rest-high-level-client:${elastic_search_version}" 40 testImplementation library.java.testcontainers_elasticsearch 41 42 testRuntimeOnly library.java.log4j2_api 43 testRuntimeOnly library.java.log4j2_core 44 testRuntimeOnly library.java.slf4j_jdk14 45 testRuntimeOnly project(path: ":runners:direct-java", configuration: "shadow") 46 }