build.gradle: workaround for Shadow not supporting Java 19 classes
This commit is contained in:
parent
f80bb89d96
commit
556051dc9a
1 changed files with 13 additions and 0 deletions
13
build.gradle
13
build.gradle
|
|
@ -1,3 +1,16 @@
|
|||
// Workaround for Shadow not supporting Java 19 classes.
|
||||
// Remove this once Shadow updates.
|
||||
// See: https://github.com/johnrengelman/shadow/pull/770
|
||||
// See: https://discord.com/channels/722722769950998560/793019909055578113/978939925061857315
|
||||
buildscript {
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force("org.ow2.asm:asm:9.3")
|
||||
force("org.ow2.asm:asm-commons:9.3")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "com.github.johnrengelman.shadow" version "7.1.0"
|
||||
id 'java'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue