Fix commons-cli not being vendored (#744)

This commit is contained in:
Jonathan Coates 2023-09-19 08:36:50 +01:00 committed by GitHub
parent 062d4ae4e9
commit ef818ac4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,9 +121,11 @@ fun MavenPom.setupPom(project: Project) {
} }
extensions.configure<DependencyRelocationExtension> { extensions.configure<DependencyRelocationExtension> {
library("libs", "commons-io") { for (commonsLib in listOf("commons-io", "commons-cli")) {
library("libs", commonsLib) {
relocate("org.apache.commons", "org.teavm.apachecommons") relocate("org.apache.commons", "org.teavm.apachecommons")
} }
}
for (asmLib in listOf("asm", "asm-tree", "asm-analysis", "asm-commons", "asm-util")) { for (asmLib in listOf("asm", "asm-tree", "asm-analysis", "asm-commons", "asm-util")) {
library("libs", asmLib) { library("libs", asmLib) {
relocate("org.objectweb.asm", "org.teavm.asm") relocate("org.objectweb.asm", "org.teavm.asm")