Skip to content

Commit f957248

Browse files
authored
Upgrade shadow plugin to 7.1.2 (#799)
https://imperceptiblethoughts.com/shadow/changes/#v7-1-2-2021-12-28 We should've done this when upgrading to Gradle 7. Using 7.1.2 since it avoids issues with earlier versions of log4j. Also removes the log4j dependency override in `buildscript` dependencies since it is no longer necessary. The new version of the plugin depends on log4j 2.17.1.
1 parent 1216890 commit f957248

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

google-ads-shadowjar/build.gradle

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
buildscript {
2-
dependencies {
3-
// Overrides the log4j dependency used by the shadow plugin during build
4-
// execution. This does not impact the runtime classpath of the library.
5-
classpath 'org.apache.logging.log4j:log4j-core:2.16.0'
6-
}
7-
}
8-
91
plugins {
102
id 'com.google.api-ads.java-conventions'
11-
id 'com.github.johnrengelman.shadow' version '6.1.0'
3+
id 'com.github.johnrengelman.shadow' version '7.1.2'
124
}
135

146
configurations {

0 commit comments

Comments
 (0)