Relative Content

Tag Archive for androidgradleandroid-gradle-pluginbuild.gradleflutter-module

Settings.gradle include project based on build variant

I have a flutter module and integrated that in my native module. You can see the integration code below. In my native app, I have four flavors “dev”, “debug”, “uat”, “release”. Now I want to add flutter module only for “dev” and “debug”, how can I achieve this? Though I have tried to catch build variant from settings gradle but the implementation is not working.