Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b47744e
Applying difference
suztomo Apr 10, 2020
4671651
Merge branch 'BEAM-9444-new' of github.com:suztomo/beam into beam-944…
kileys Oct 8, 2020
68deb1e
update new dependencies
kileys Oct 8, 2020
13329a0
add bom dependency
kileys Oct 8, 2020
db26087
update category attribute
kileys Oct 9, 2020
6d3e814
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 12, 2020
d24d2d5
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 12, 2020
6b9b51c
use bom in maven archetype
kileys Oct 12, 2020
c51c95f
remove fixed issue
kileys Oct 12, 2020
359e0d6
alpha ordering
kileys Oct 12, 2020
e51d3a4
plugin cant find license type
kileys Oct 12, 2020
f4adb38
add license
kileys Oct 12, 2020
8a7a6c5
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 13, 2020
a65cdcf
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 20, 2020
8764e7f
use enforce platform
kileys Oct 20, 2020
8a881f7
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 20, 2020
951184a
update bom to 13.0.0
kileys Oct 21, 2020
98d3ae0
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 26, 2020
9cf2083
update to 13.2
kileys Oct 26, 2020
28f633a
update grpc version
kileys Oct 26, 2020
4fdb97c
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Oct 30, 2020
db31a4a
fix conflicts
kileys Oct 30, 2020
8636fb8
Merge branch 'master' of github.com:apache/beam into beam-9444-bom
kileys Nov 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ configurations.sparkRunnerPreCommit {
}

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile library.java.vendored_guava_26_0_jre
compile project(path: ":sdks:java:core", configuration: "shadow")
compile project(":sdks:java:extensions:google-cloud-platform-core")
Expand Down
1 change: 1 addition & 0 deletions examples/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ configurations.sparkRunnerPreCommit {
}

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile library.java.vendored_guava_26_0_jre
compile project(path: ":sdks:java:core", configuration: "shadow")
compile project(":sdks:java:extensions:google-cloud-platform-core")
Expand Down
1 change: 1 addition & 0 deletions runners/google-cloud-dataflow-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ configurations {
}

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile library.java.vendored_guava_26_0_jre
compile project(path: ":model:pipeline", configuration: "shadow")
compile project(path: ":sdks:java:core", configuration: "shadow")
Expand Down
1 change: 1 addition & 0 deletions runners/google-cloud-dataflow-java/worker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ dependencies {
//
// All main sourceset dependencies here should be listed as compile scope so that the dependencies
// are all packaged into a single uber jar allowing the jar to serve as an application.
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile project(":runners:google-cloud-dataflow-java")
compile project(path: ":sdks:java:core", configuration: "shadow")
compile project(":sdks:java:extensions:google-cloud-platform-core")
Expand Down
4 changes: 4 additions & 0 deletions sdks/java/container/license_scripts/dep_urls_java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jcip-annotations:
jaxen:
'1.1.6':
type: "3-Clause BSD"
libraries-bom:
'13.2.0':
license: "https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-opensource-java/master/LICENSE"
type: "Apache License 2.0"
paranamer:
'2.7':
license: "https://raw.githubusercontent.com/paul-hammant/paranamer/master/LICENSE.txt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ test {
}

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile library.java.vendored_guava_26_0_jre
compile project(path: ":sdks:java:core", configuration: "shadow")
compile library.java.google_http_client_jackson2
Expand Down
1 change: 1 addition & 0 deletions sdks/java/extensions/sql/datacatalog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ plugins { id 'org.apache.beam.module' }
applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.extensions.sql.datacatalog')

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile(library.java.google_cloud_datacatalog_v1beta1) {
exclude group: 'io.grpc', module: 'grpc-core' // Use Beam's version
}
Expand Down
1 change: 1 addition & 0 deletions sdks/java/extensions/sql/zetasql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ext.summary = "ZetaSQL to Calcite translator"
def zetasql_version = "2020.10.1"

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile project(":sdks:java:core")
compile project(":sdks:java:extensions:sql")
compile library.java.vendored_calcite_1_20_0
Expand Down
1 change: 1 addition & 0 deletions sdks/java/io/google-cloud-platform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ description = "Apache Beam :: SDKs :: Java :: IO :: Google Cloud Platform"
ext.summary = "IO library to read and write Google Cloud Platform systems from Beam."

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile project(path: ":sdks:java:core", configuration: "shadow")
compile project(":sdks:java:expansion-service")
compile project(":sdks:java:extensions:google-cloud-platform-core")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,6 @@ public void testGcpApiSurface() throws Exception {
Matchers.<Class<?>>equalTo(com.google.cloud.ByteArray.class),
Matchers.<Class<?>>equalTo(com.google.cloud.Date.class),
Matchers.<Class<?>>equalTo(com.google.cloud.Timestamp.class),
// TODO: remove the following classes once spanner updates APIs of AsyncResultSet:
// https://github.com/googleapis/java-spanner/issues/410
Matchers.<Class<?>>equalTo(com.google.common.collect.ImmutableCollection.class),
Matchers.<Class<?>>equalTo(com.google.common.collect.ImmutableCollection.Builder.class),
Matchers.<Class<?>>equalTo(com.google.common.collect.ImmutableList.class),
Matchers.<Class<?>>equalTo(com.google.common.collect.ImmutableList.Builder.class),
Matchers.<Class<?>>equalTo(com.google.common.collect.UnmodifiableIterator.class),
Matchers.<Class<?>>equalTo(com.google.common.collect.UnmodifiableListIterator.class),
classesInPackage("com.google.cloud.spanner"),
classesInPackage("com.google.datastore.v1"),
classesInPackage("com.google.protobuf"),
Expand Down
1 change: 1 addition & 0 deletions sdks/java/io/splunk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ description = "Apache Beam :: SDKs :: Java :: IO :: Splunk"
ext.summary = "IO to write events to Splunk Http Event Collector (HEC)"

dependencies {
compile platform(library.java.google_cloud_platform_libraries_bom)
compile library.java.slf4j_api
compile library.java.google_api_client
compile library.java.google_http_client_apache_v2
Expand Down
2 changes: 1 addition & 1 deletion sdks/java/maven-archetypes/examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ processResources {
'project.version': version,
'bigquery.version': dependencies.create(project.library.java.google_api_services_bigquery).getVersion(),
'google-api-client.version': dependencies.create(project.library.java.google_api_client).getVersion(),
'google-http-client.version': dependencies.create(project.library.java.google_http_client).getVersion(),
'hamcrest.version': dependencies.create(project.library.java.hamcrest_library).getVersion(),
'jackson.version': dependencies.create(project.library.java.jackson_core).getVersion(),
'joda.version': dependencies.create(project.library.java.joda_time).getVersion(),
'junit.version': dependencies.create(project.library.java.junit).getVersion(),
'libraries-bom.version': dependencies.create(project.library.java.google_cloud_platform_libraries_bom).getVersion(),
'pubsub.version': dependencies.create(project.library.java.google_api_services_pubsub).getVersion(),
'slf4j.version': dependencies.create(project.library.java.slf4j_api).getVersion(),
'spark.version': dependencies.create(project.library.java.spark_core).getVersion(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

<bigquery.version>@bigquery.version@</bigquery.version>
<google-api-client.version>@google-api-client.version@</google-api-client.version>
<google-http-client.version>@google-http-client.version@</google-http-client.version>
<hamcrest.version>@hamcrest.version@</hamcrest.version>
<jackson.version>@jackson.version@</jackson.version>
<joda.version>@joda.version@</joda.version>
<junit.version>@junit.version@</junit.version>
<libraries-bom.version>@libraries-bom.version@</libraries-bom.version>
<maven-compiler-plugin.version>@maven-compiler-plugin.version@</maven-compiler-plugin.version>
<maven-exec-plugin.version>@maven-exec-plugin.version@</maven-exec-plugin.version>
<maven-jar-plugin.version>@maven-jar-plugin.version@</maven-jar-plugin.version>
Expand Down Expand Up @@ -379,7 +379,6 @@
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
<version>${google-http-client.version}</version>
<exclusions>
<!-- Exclude an old version of guava that is being pulled
in by a transitive dependency of google-api-client -->
Expand Down Expand Up @@ -460,4 +459,17 @@
<scope>test</scope>
</dependency>
</dependencies>

<!-- GCP libraries BOM sets the version for google http client -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>${libraries-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
1 change: 1 addition & 0 deletions sdks/java/testing/test-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ applyJavaNature(enableChecker:false,
description = "Apache Beam :: SDKs :: Java :: Test Utils"

dependencies {
compile enforcedPlatform(library.java.google_cloud_platform_libraries_bom)
compile project(path: ":sdks:java:core", configuration: "shadow")
compile library.java.vendored_guava_26_0_jre
compile library.java.google_cloud_bigquery
Expand Down