Skip to content

Commit cf66fee

Browse files
authored
Merge pull request #16 from ossimlabs/log4j-fix
Fix log4j-fix
2 parents 9cfa7be + f6d5ac4 commit cf66fee

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

build.gradle

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,10 @@ subprojects { project ->
144144
testCompile "org.mockito:mockito-core"
145145
testCompile "org.grails:grails-web-testing-support"
146146

147-
constraints {
148-
implementation('org.apache.logging.log4j:log4j-core:2.17.1') {
149-
because 'Log4j vulnerable to remote code execution and other critical security vulnerabilities'
150-
}
151-
implementation('org.apache.logging.log4j:log4j-api:2.17.1') {
152-
because 'Log4j vulnerable to remote code execution and other critical security vulnerabilities'
153-
}
154-
implementation('ch.qos.logback:logback-classic:1.2.10') {
155-
because 'Logback vulnerable to remote code execution and other critical security vulnerabilities'
156-
}
157-
implementation('ch.qos.logback:logback-core:1.2.10') {
158-
because 'Logback vulnerable to remote code execution and other critical security vulnerabilities'
159-
}
160-
}
147+
compile "org.apache.logging.log4j:log4j-to-slf4j:2.17.1"
148+
compile "org.apache.logging.log4j:log4j-api:2.17.1"
149+
compile "ch.qos.logback:logback-classic:1.2.10"
150+
compile "ch.qos.logback:logback-core:1.2.10"
161151

162152
if ( isGrailsApp )
163153
{

0 commit comments

Comments
 (0)