Skip to content

Commit 7eb7fd0

Browse files
tvalentynaaltaya49a
authored
Cherrypick a few more Log4j fixes. #16352
Co-authored-by: tvalentyn <tvalentyn@users.noreply.github.com> Co-authored-by: Ahmet Altay <aaltay@gmail.com> Co-authored-by: Ada Wong <rsl4@foxmail.com>
2 parents 1ff38aa + 9b66a80 commit 7eb7fd0

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

buildSrc/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ repositories {
3131
url = uri("https://repo.spring.io/plugins-release/")
3232
content { includeGroup("io.spring.gradle") }
3333
}
34+
flatDir { dirs("jarlibs") }
3435
}
3536

3637
// Dependencies on other plugins used when this plugin is invoked
3738
dependencies {
3839
compile(gradleApi())
3940
compile(localGroovy())
40-
compile("com.github.jengelman.gradle.plugins:shadow:6.1.0")
41+
compile("com.github.jengelman.gradle.plugins:shadow:6.1.0-log4jfix-SNAPSHOT")
4142
compile("gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.5.0")
4243

4344
runtime("net.ltgt.gradle:gradle-apt-plugin:0.21") // Enable a Java annotation processor
@@ -48,7 +49,7 @@ dependencies {
4849
runtime("gradle.plugin.com.github.blindpirate:gogradle:0.11.4") // Enable Go code compilation
4950
runtime("gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.22.0") // Enable building Docker containers
5051
runtime("gradle.plugin.com.dorongold.plugins:task-tree:1.5") // Adds a 'taskTree' task to print task dependency tree
51-
runtime("com.github.jengelman.gradle.plugins:shadow:6.1.0") // Enable shading Java dependencies
52+
runtime("com.github.jengelman.gradle.plugins:shadow:6.1.0-log4jfix-SNAPSHOT") // Enable shading Java dependencies
5253
runtime("ca.coglinc:javacc-gradle-plugin:2.4.0") // Enable the JavaCC parser generator
5354
runtime("net.linguica.gradle:maven-settings-plugin:0.5")
5455
runtime("gradle.plugin.io.pry.gradle.offline_dependencies:gradle-offline-dependencies-plugin:0.5.0") // Enable creating an offline repository
5.37 MB
Binary file not shown.

sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ enableJavaPerformanceTesting()
2727
description = "Apache Beam :: SDKs :: Java :: IO :: Elasticsearch-Tests :: 5.x"
2828
ext.summary = "Tests of ElasticsearchIO on Elasticsearch 5.x"
2929

30-
def log4j_version = "2.16.0"
30+
def log4j_version = "2.17.0"
3131
def elastic_search_version = "5.6.3"
3232

3333
configurations.all {

sdks/java/io/elasticsearch-tests/elasticsearch-tests-6/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ enableJavaPerformanceTesting()
2727
description = "Apache Beam :: SDKs :: Java :: IO :: Elasticsearch-Tests :: 6.x"
2828
ext.summary = "Tests of ElasticsearchIO on Elasticsearch 6.x"
2929

30-
def log4j_version = "2.16.0"
30+
def log4j_version = "2.17.0"
3131
def elastic_search_version = "6.4.0"
3232

3333
configurations.all {

sdks/java/io/elasticsearch-tests/elasticsearch-tests-7/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ enableJavaPerformanceTesting()
2727
description = "Apache Beam :: SDKs :: Java :: IO :: Elasticsearch-Tests :: 7.x"
2828
ext.summary = "Tests of ElasticsearchIO on Elasticsearch 7.x"
2929

30-
def log4j_version = "2.16.0"
30+
def log4j_version = "2.17.0"
3131
def elastic_search_version = "7.13.4"
3232

3333
configurations.all {

sdks/java/io/elasticsearch-tests/elasticsearch-tests-common/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ applyJavaNature(
2525
description = "Apache Beam :: SDKs :: Java :: IO :: Elasticsearch-Tests :: Common"
2626
ext.summary = "Common test classes for ElasticsearchIO"
2727

28-
def log4j_version = "2.16.0"
28+
def log4j_version = "2.17.0"
2929
def elastic_search_version = "7.9.2"
3030

3131
configurations.all {

0 commit comments

Comments
 (0)