This is based on the new comment link feature. It will work with B4A, B4i and B4J versions to be released next week (July 8, 2020). It will not work with current betas.
It zips the modules files and a manifest.txt file that is expected to be in the same folder.
'Click to build b4xlib: ide://run?file=%JAVABIN%\jar.exe&WorkingDirectory=..&Args=-cMf&Args=LibraryNameHere.b4xlib&&Args=..&Args=*.bas&Args=manifest.txt