github.com/apache/beam/sdks/v2@v2.48.2/java/transform-service/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 'org.apache.beam.module'
    21      id 'com.github.johnrengelman.shadow'
    22  }
    23  
    24  apply plugin: 'org.apache.beam.module'
    25  applyJavaNature(
    26          automaticModuleName: 'org.apache.beam.sdk.transform.service',
    27  )
    28  
    29  
    30  description = "Apache Beam :: SDKs :: Java :: Transform Service"
    31  ext.summary = """Contains code that can be used to run an transform service."""
    32  
    33  
    34  // Exclude tests that need a runner
    35  test {
    36      systemProperty "beamUseDummyRunner", "true"
    37      useJUnit {
    38          excludeCategories "org.apache.beam.sdk.testing.NeedsRunner"
    39      }
    40  }
    41  
    42  dependencies {
    43      implementation project(path: ":model:pipeline", configuration: "shadow")
    44      implementation project(path: ":model:job-management", configuration: "shadow")
    45      implementation project(path: ":sdks:java:core", configuration: "shadow")
    46      implementation project(path: ":runners:core-construction-java")
    47      implementation project(path: ":sdks:java:fn-execution")
    48      implementation library.java.vendored_grpc_1_54_0
    49      implementation library.java.vendored_guava_26_0_jre
    50      implementation library.java.jackson_annotations
    51      implementation library.java.jackson_databind
    52      implementation library.java.jackson_dataformat_yaml
    53      testImplementation library.java.junit
    54      testImplementation library.java.mockito_core
    55      testImplementation project(path: ":runners:java-fn-execution")
    56  }