O'Reilly logo
  • Yucai Li thinks this is interesting:

In the following example,

From

Cover of Gradle in Action

Note

the code below need put after the code [apply plugin: 'java'], otherwise you will get compile error