How do I make TeaVM use a "fat jar" produced with John Rengelman's Shadow gradle plugin instead of the output produced by gradle build?
I have even not a slightest idea why you would want this. This fat jar is build from some project's classpath, right? So the only difference for case of non far jar is that TeaVM has to take classes from various jar files, but this should not be a problem.
Anyway, if you want to, you can try to configure classpath
property of generateJavaScript task
(see details on ConfigurableFileCollections).
You can also register and configure your own taks of type
TeaVMTask. Please, refer to plugin source
code.