Hello, I would like to get some help how to config...
# community-support
j
Hello, I would like to get some help how to configure a Gradle build that will include certain dependencies based on a project "variant". For example, when building the application intended for performance test deployment, certain "performance metrics" dependencies will need to be included in the assembled application. When building the application intended for production use, these "performance metrics" dependencies should be excluded. Is there a way in Gradle on how to get this configured? I'm currently looking at the "feature variants" capability in Gradle. Would this be applicable? https://docs.gradle.org/current/userguide/feature_variants.html