blob: d28992127cfb3815aee311724b5707ade038e129 [file] [log] [blame] [edit]
description = "gRPC: Testing Protos"
// Add dependency on the protobuf plugin
buildscript {
repositories {
maven {
// The google mirror is less flaky than mavenCentral()
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
}
}
dependencies {
classpath libraries.protobuf_plugin
}
}
dependencies {
compile project(':grpc-protobuf'),
project(':grpc-stub')
testCompile libraries.truth
}
configureProtoCompilation()
// Let intellij projects refer to generated code
idea {
module {
sourceDirs += file("${projectDir}/src/generated/main/java")
sourceDirs += file("${projectDir}/src/generated/main/grpc")
}
}