When I am running tests using bnd (from the Bndtools project) through gradle, I would like to set a random value in test.bndrun:
-runproperties: \
osgi.instance.area=random_value
Where random_value would be something random (like "area_" + <currentTimeMillis>).
Is there a possibility to express that without having a script or a gradle task to modify the test.bndrun file?
I found a solution to this:
In the
test.bndrunI have:And in the Gradle Task, I prepare the value
randomTimestamp: