Czar
06/22/2017, 7:07 AMval fooBarVersion by project
For me this is too verbose, I opted for just defining val fooBarVersion = '1.0'
instead of defining the version in the properties and then declaring the delegate variable.
Or you can omit the declaration by making usage even more verbose: compile("foo:bar:${project.properties["fooBarVersion"]}")