Skip to content

Commit

Permalink
add comment back to issue for why asm is being updated
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington authored Feb 3, 2024
1 parent 9c34722 commit e22bde5
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
// Needed until shadow plugin is updated for JDK21. For more details see
// https://github.com/Netflix/spectator/issues/1113
buildscript {
configurations.configureEach { configuration ->
configuration.resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.ow2.asm') {
details.useVersion '9.6'
details.because "Asm 9.6 is required for JDK 21+ support"
}
}
configurations.configureEach { configuration ->
configuration.resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.ow2.asm') {
details.useVersion '9.6'
details.because "Asm 9.6 is required for JDK 21+ support"
}
}
}
}
}

plugins {
Expand Down

0 comments on commit e22bde5

Please sign in to comment.