gradle-native icon indicating copy to clipboard operation
gradle-native copied to clipboard

Provide a way to inject build settings for the whole project

Open lacasseio opened this issue 2 years ago • 0 comments

Some Xcode build requires external custom paths to be provided to Xcode, via Preferences -> Locations -> Custom Paths. Without those values, some paths may not resolve correctly. We should introduce a way to add additional build settings. Adding build settings per task may be enough for this feature given we could do the following in settings.gradle:

gradle.allprojects {
    tasks.withType(XcodebuildExec).configureEach {
        buildSetting 'MY_PATH', file('some/path')
    }
}

lacasseio avatar Aug 10 '22 17:08 lacasseio