Upgrade to com.google.protobuf:protobuf-gradle-plugin:0.1.0
Commit 76f0a09 after the previous release
(ws.antonov.gradle.plugins:gradle-plugin-protobuf:0.9.1) defers the
generation of generateProto tasks to post-evaluation of the project,
which make them no longer available in the evaluation phase. We need to
move the manipulation of these tasks to post-evaluation too.
diff --git a/compiler/build.gradle b/compiler/build.gradle
index f0ab72c..b0d9113 100644
--- a/compiler/build.gradle
+++ b/compiler/build.gradle
@@ -194,7 +194,10 @@
protobufCodeGenPlugins = ["java_plugin:$javaPluginPath"]
-generateTestProto.dependsOn 'local_archJava_pluginExecutable'
+project.afterEvaluate {
+ generateTestProto.dependsOn 'local_archJava_pluginExecutable'
+}
+
// Ignore test for the moment on Windows. It will be easier to run once the
// gradle protobuf plugin can support nano.
if (osdetector.os != 'windows') {