[SQLDelight] Whenever I build a release dmg for Ma...
# squarelibraries
n
[SQLDelight] Whenever I build a release dmg for MacOS and run it, I get jvm error complaining about SQL:
Copy code
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: java/sql/SQLException
Does anyone know how to fix this? Googling this error hints that SQLight jar is missing, but doesn’t sqaure/cashapp handle it?
Screen Shot 2024-03-16 at 22.43.24.png
Was fixed by adding
modules("java.sql")
Copy code
compose.desktop {
        application {
        nativeDistributions {
            modules("java.sql")
        }
    }
}