Closed Skater901 closed 1 month ago
Hi, i haven't tested in quite some time without the webjars plugin so i'm not sure why i originally added it, but with your and my testing, it seems like its not required. I'll remove it with the next version :+1:
I tried using GraalVM to build a Native Image of my project using
ktor-swagger-ui
, but the build failed with the following errors:I spent some time debugging, and was able to figure out that the problem is the presence of the Ktor WebJars plugin. Specifically, this.
I made my own artifact locally of
ktor-swagger-ui
without the WebJars plugin, and my native image built successfully. Additionally, I tested my application, and the Swagger UI was still available, even with WebJars removed.Since the WebJars plugin doesn't seem to actually be needed for
ktor-swagger-ui
to work, is it possible to remove it? Or, if it is needed and I've just missed how it's needed, is it possible to make it a configurable option, so that I can disable the WebJars plugin? (And potentially exclude it from my dependencies, if required)