Skip to content

Commit

Permalink
CORE-17117: Force resolution of Commons Compress
Browse files Browse the repository at this point in the history
  • Loading branch information
vkolomeyko committed Oct 9, 2023
1 parent 09fec81 commit ef1962b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ buildscript {
because "required until dokka plugin updates it's internal version of jsoup, not fixed as of dokka 1.7.10"
}
}

classpath "org.apache.avro:avro:$avroVersion"
constraints {
classpath("org.apache.commons:commons-compress:$commonsCompressVersion") {
because "CVE-2023-42503, current version of Avro uses an outdated version"
}
}
}
}

Expand Down
7 changes: 7 additions & 0 deletions data/avro-schema/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ dependencies {
compileOnly 'org.osgi:osgi.annotation'
}

configurations.all {
resolutionStrategy {
// CVE-2023-42503, current version of Avro uses an outdated version
force "org.apache.commons:commons-compress:$commonsCompressVersion"
}
}

description 'Data Model Definitions'

def generatedAvroDir = layout.buildDirectory.dir('generated-avro')
Expand Down

0 comments on commit ef1962b

Please sign in to comment.