I am just trying to assign the value from the parameter I pass to a gradle task. For example I run this task gradlew assembleTestApp -PtestParam=testVarible
in my build.gradle i want to assign the value to a variable
def var = $testParam
above is not working.