From ef818ac4c5ca201118e4180d0a973a4ca3896d89 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Tue, 19 Sep 2023 08:36:50 +0100 Subject: [PATCH] Fix commons-cli not being vendored (#744) --- settings.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index a84aad254..1e0a31474 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -121,8 +121,10 @@ fun MavenPom.setupPom(project: Project) { } extensions.configure { - 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) {