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