The following additions would make Projucer work much better for Android projects, without having to store build files in a VCS. It can be very frustrating to have Projucer destroy all your carefully adjusted build settings when saving, and have to redo them if they haven’t been saved in a VCS.
These are additions I am happy to make and send in a PR when I get the time, but it would be great if someone on the JUCE team could look into it too.
Projucer changes for Android Studio exporter:
-
Application class name, to fill in the manifest e.g.
<application android:name=".MainApplication" ...
-
Repositories (Project build.gradle)
-
Dependencies (app build.gradle).
Default:compile "com.android.support:support-v4:+"
-
Separate compile, target and minSdk, e.g.:
compileSdkVersion 23 minSdkVersion 10 targetSdkVersion 23
-
packagingOptions, e.g:
android.packagingOptions {
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
- settings.gradle additions, e.g.
include ':react-native-navigation'
project(':react-native-navigation').projectDir = new File(rootProject.projectDir, '../../node_modules/react-native-navigation/android/app/‘)