This notation is not useful right now as the resulting module descriptor is now empty. Since the exportAllPackages and requireAllDefinedDependencies features are now stable, the new default should be:
module("group:artifact", "module.name")
...is the same as:
module("group:artifact", "module.name") {
exportAllPackages()
requireAllDefinedDependencies()
}