Skip to content

Module detail: app

enteraname74 edited this page May 15, 2025 · 1 revision

All the app is in this module (views, UI logic,...). This module also contains the entry point of the Android and Desktop app.

Desktop

Building an executable

For now, Soul Searching on desktop is only entirely supported with flatpak. Because I'm only able to build for Linux distribution, I choose the flatpak format, as it lets me bundle the app with some needed dependencies (in my case, VLC).

Soul Searching Desktop and Proguard

Proguard is used to optimize the size of the app. The proguard-rules.pro file defines which elements the system must keep during the optimization of the app (VLCJ, JAudioTagger,...etc).

Building the flatpak release

You can use the following command to build the flatpak version of the app:

./gradlew desktopApp:packageFlatpakReleaseDistributable

This task is a custom task from the build.gradle.kts file of this module.

⚠️ Before building a new release of the app, be sure to correctly set up the version name of the app in the io.github.enteraname74.soulsearching.yml file. Example, for the 0.12.2 version, the correct path of the .tar.gz archive used to build the flatpak is:

sources:
  - type: archive
    path: build/distributions/soulsearching-0.12.2-linux.tar.gz

Clone this wiki locally