Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
### Changed

- Change the group of `startShadowScripts` from `application` to `other`. ([#1797](https://github.com/GradleUp/shadow/pull/1797))
- Update ASM and jdependency to support Java 26. ([#1799](https://github.com/GradleUp/shadow/pull/1799))

## [9.2.2](https://github.com/GradleUp/shadow/compare/9.2.2) - 2025-09-26

Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ apache-ant = "org.apache.ant:ant:1.10.15"
apache-commonsIo = "commons-io:commons-io:2.20.0"
apache-log4j = "org.apache.logging.log4j:log4j-core:2.25.2"
apache-maven-modelBuilder = "org.apache.maven:maven-model:3.9.11"
asm = "org.ow2.asm:asm-commons:9.8"
asm = "org.ow2.asm:asm-commons:9.9"
# jdependency should be updated together with ASM, see https://github.com/tcurdt/jdependency/issues/325.
jdependency = "org.vafer:jdependency:2.13"
jdependency = "org.vafer:jdependency:2.14"
jdom2 = "org.jdom:jdom2:2.0.6.1"
kotlin-metadata = { module = "org.jetbrains.kotlin:kotlin-metadata-jvm", version.ref = "kotlin" }
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import com.github.jengelman.gradle.plugins.shadow.relocation.relocateClass
import com.github.jengelman.gradle.plugins.shadow.relocation.relocatePath
import java.util.regex.Pattern
import org.objectweb.asm.Opcodes
import org.objectweb.asm.commons.Remapper

/**
Expand All @@ -15,7 +16,7 @@ import org.objectweb.asm.commons.Remapper
internal class RelocatorRemapper(
private val relocators: Set<Relocator>,
private val onModified: () -> Unit = {},
) : Remapper() {
) : Remapper(Opcodes.ASM9) {

override fun mapValue(value: Any): Any {
return if (value is String) {
Expand Down
Loading