I\'m trying to create a re-usable gradle task that accesses something from the top level. This works:
val foo = 42 tasks.register("foosimple") {