Gradle - ant based properties handling

Hi! I am “gradl’ing” some ant project. In ant when I use several times property task, new properties are resolved with usage of previously defined, for example when I definied: someProp=aa otherProp=${someProp}/bb it will result that otherProp=aa/bb

I try to do it also in gradle (those properties I need to pass to test task systemProperties) but with no luck.

What I’m doing wrong? Is is possible to do it in gradle ?

Regards, Grzesiek