Juce Android export settings doesn't provide custom Gradle project level dependencies

We are building an App that mixing Juce and Android native components, we want to add Firebase Crashyltics to our app and there are some dependencies that we have to add the following to the Gradle project-level file and app-level file
1- add the following to the project-level build.gradle file

buildscript {
repositories {
    // Add the following repositories:
    google()  // Google's Maven repository

    maven {
       url 'https://maven.fabric.io/public'
    }
}

dependencies {
    // ...

    // Check for v3.1.2 or higher
    classpath 'com.google.gms:google-services:4.3.0'  // Google Services plugin

    // Add dependency
    classpath 'io.fabric.tools:gradle:1.31.0'  // Crashlytics plugin

    
}
}


allprojects {
// ...

repositories {
   // Check that you have the following line (if not, add it):
   google()  // Google's Maven repository
   // ...
}
}

2- Add “apply plugin: ‘io.fabric’” the app-level build.gradle file

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

dependencies {
// ...

// Check for v11.4.2 or higher
implementation 'com.google.firebase:firebase-core:17.0.1'

// (Recommended) Add Analytics
implementation 'com.google.firebase:firebase-analytics:17.0.1'

// Add dependency
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
}

The problem is Juce exporter allows us to edit some section and doesn’t provide fields to customize other Gradle sections and this forces us to add these things manually and every time we export, Juce override our manual changes :frowning:

sorry to drag this up,

did you solve it in the end?

I have a similar issue, I want add some post build tasks but each export the tasks are deleted

See https://github.com/adamski/audioengine-demo for an alternative way to structure such projects.