I want to be able to define a variant specific variable.
flavor1{
variable = "thistask"
}
flavor2{
variable = "thattask"
}
Then when i execute it like
./gradlew aFlavor1
i want to be able to read variable as "thistask".
How can i accomplish this? How can i know which variant task is currently running?