次のような build.gradle ファイルがあります (マニュアルのカスタム プラグインの例から)。
apply plugin: 'groovy'
dependencies {
compile gradleApi()
compile localGroovy()
}
しかし、実行すると次のようになります。
$ gradle build
:compileJava UP-TO-DATE
:compileGroovy
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileGroovy'.
> You must assign a Groovy library to the 'groovy' configuration.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
私が見逃しているものはありますか?