I have to add distribution plugin(id 'distribution') to greeter/build.gradle in order to build the project from root project.
Otherwise I was getting following error while executing $ ./gradlew build from root project:
A problem occurred evaluating project ':greeter'.
Could not find method distZip() for arguments [build_3l19uw4rdyz1ioa27u2uvvxr0$_run_closure2@119427e1] on project ':greeter' of type org.gradle.api.Project.
I have to add distribution plugin(id 'distribution') to greeter/build.gradle in order to build the project from root project.
Otherwise I was getting following error while executing $ ./gradlew build from root project:
A problem occurred evaluating project ':greeter'.