Skip to content

Commit 2389631

Browse files
authored
Override the log4j dependency used by the 'shadow' plugin (#551)
1 parent a6c0cfb commit 2389631

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

google-ads-shadowjar/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
plugins {
210
id 'com.google.api-ads.java-conventions'
311
id 'com.github.johnrengelman.shadow' version '6.1.0'

0 commit comments

Comments
 (0)