我有一个Groovy 2.4.x项目,我正在尝试使用Gradle的continuous build功能。但是,当我跑:
./gradlew build --continuous
我收到错误:
myuser@mymachine:~/sandbox/myapp$./gradlew build --continuous
FAILURE: Build failed with an exception.
* What went wrong:
Problem configuring task :build from command line.
> Unknown command-line option '--continuous'.
* Try:
Run gradle help --task :build to get task usage details. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
我想知道这是因为我使用的是Groovy插件(apply plugin: groovy
)...是Groovy应用程序无法使用的连续构建吗?如果是这样,我怎样才能为我的应用程序提供连续构建(或者这是不可能的)?否则,这里发生了什么?