| /* |
| * 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.extensions.opentelemetry.gcp.auth', |
| ) |
| |
| description = "Apache Beam :: SDKs :: Java :: Extensions :: OpenTelemetry GCP Auth" |
| ext.summary = "OpenTelemetry extension that provides GCP authentication support for OTLP exporters." |
| |
| dependencies { |
| implementation enforcedPlatform(library.java.google_cloud_platform_libraries_bom) |
| implementation platform(library.java.opentelemetry_bom) |
| implementation library.java.google_auth_library_oauth2_http |
| implementation library.java.vendored_guava_32_1_2_jre |
| compileOnly library.java.opentelemetry_api |
| compileOnly library.java.opentelemetry_extension_autoconfigure |
| compileOnly library.java.opentelemetry_exporter_otlp |
| implementation project(path: ":sdks:java:core", configuration: "shadow") |
| |
| testImplementation library.java.junit |
| testImplementation library.java.mockito_core |
| testImplementation library.java.mockito_inline |
| testImplementation library.java.mockito_junit_jupiter |
| testImplementation library.java.jupiter_api |
| testImplementation library.java.jupiter_params |
| testRuntimeOnly library.java.jupiter_engine |
| testImplementation library.java.truth |
| testImplementation library.java.opentelemetry_api |
| testImplementation library.java.opentelemetry_sdk |
| testImplementation library.java.opentelemetry_exporter_otlp |
| testImplementation library.java.opentelemetry_sdk_testing |
| testImplementation library.java.opentelemetry_extension_autoconfigure |
| } |
| test { useJUnitPlatform() } |