As I transition from Maven to Gradle, I am curious about how to implement Maven's profile mechanism in Gradle. I have found few resources on the topic, and the one that seems the most compelling-calling applyFrom on a script whose name is provided at build time from the command line-doesn't strike me as optimal. While clever, it seems a bit like an anti-pattern.
Any thoughts on best practices or other insights into simulating Maven profiles is appreciated. Thanks.
