could not resolve plugin artifact 'com.google.protobuf:com.google.protobuf.gradle.plugin:0.8.11 code example
Example 1: protobuf gradle compile
protobuf {
// Configure the protoc executable
protoc {
// Download from repositories
artifact = 'com.google.protobuf:protoc:3.0.0'
}
}
Example 2: protobuf java gradle
plugins {
id "com.google.protobuf" version "0.8.14"
id "java"
}