For our compose desktop app I would like to have multiple build variants, like Android build flavours. Is this at all possible using the Gradle plugin? I don’t see a way to define multiple applications and/or distributions using
compose.desktop {}
o
Oliver.O
05/01/2026, 6:48 PM
Would creating one app module per build variant work for you? (The app modules could be tiny, with the bulk of code sitting in library modules, imported as needed.)
d
Desmond van der Meer
05/02/2026, 9:12 AM
It's something I considered, but we actually have 2 ‘dimensions’, which means 10 total different variants