Hi. I got a question.
I define a project level variable in build.gradle.kts like
val foo=“bar”
Then within a task which already has a property with the same name (foo) I try to access that high level project variable like this:
tasks.named(“taksName”) { //this task has its own property foo defined
val someVar = foo //And I get the tasks’s foo value, but not the project’s one
}
How can I access the project foo var from within a task in such case?
Thank you!