aboutsummaryrefslogtreecommitdiff
path: root/testing-proto/build.gradle
blob: 84f651af4c1e4a24d79a38cbcd8652de4e8718dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
description = "gRPC: Testing Protos"

// Add dependency on the protobuf plugin
buildscript {
    repositories {
        mavenCentral()
    }
    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")
    }
}