Build metadata - how to build special app flavour?

Hi,

i’ve made a special app flavour via the buildTypes section of the build.gradle for my app. Before it was “release” and now it’s “gplay” and “fdroid”.

The fdroid metadata seems to only build “release” via the cmd “gradlew assembleRelease”. Is there an option where I could specify I’d like to build “fdroid” (assembleFdroid) instead?

Thanks

assembleFdroidRelease did not worK?

build.gradle eg. https://github.com/iNPUTmice/Conversations/blob/master/build.gradle#L131

@Licaon_Kter maybe add the corresponding metadata file:

Builds:
[...]
  - versionName: 2.8.9+fcr
    versionCode: 395
    commit: 2.8.9
    gradle:
      - conversationsFreeCompat
[...]

source:

Why bother with the suffix? You could just add one to the version name (careful to not break autoupdate :))

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.