2019-09-07 23:18:57 +08:00
|
|
|
pluginManagement {
|
|
|
|
plugins {
|
2022-01-08 01:52:26 +08:00
|
|
|
id "com.android.application" version "4.2.0"
|
|
|
|
id "com.android.library" version "4.2.0"
|
2022-01-11 02:28:42 +08:00
|
|
|
id "com.github.johnrengelman.shadow" version "7.1.2"
|
2022-01-08 01:54:50 +08:00
|
|
|
id "com.github.kt3k.coveralls" version "2.12.0"
|
|
|
|
id "com.google.osdetector" version "1.7.0"
|
|
|
|
id "com.google.protobuf" version "0.8.18"
|
|
|
|
id "digital.wup.android-maven-publish" version "3.6.3"
|
|
|
|
id "me.champeau.gradle.japicmp" version "0.3.0"
|
|
|
|
id "me.champeau.jmh" version "0.6.6"
|
|
|
|
id "net.ltgt.errorprone" version "2.0.2"
|
|
|
|
id "ru.vyarus.animalsniffer" version "1.5.4"
|
2019-09-07 23:18:57 +08:00
|
|
|
}
|
2020-01-10 07:20:41 +08:00
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
if (target.id.namespace == "com.android") {
|
|
|
|
useModule("com.android.tools.build:gradle:${target.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
google()
|
|
|
|
}
|
2019-09-07 23:18:57 +08:00
|
|
|
}
|
|
|
|
|
2015-01-28 02:25:39 +08:00
|
|
|
rootProject.name = "grpc"
|
2019-04-13 08:37:13 +08:00
|
|
|
include ":grpc-api"
|
2015-01-28 02:25:39 +08:00
|
|
|
include ":grpc-core"
|
2016-09-02 07:00:43 +08:00
|
|
|
include ":grpc-context"
|
2015-01-28 02:25:39 +08:00
|
|
|
include ":grpc-stub"
|
2020-01-14 06:35:29 +08:00
|
|
|
include ":grpc-census"
|
2015-01-28 02:25:39 +08:00
|
|
|
include ":grpc-auth"
|
|
|
|
include ":grpc-okhttp"
|
2015-04-11 06:40:44 +08:00
|
|
|
include ":grpc-protobuf"
|
2016-03-23 02:31:36 +08:00
|
|
|
include ":grpc-protobuf-lite"
|
2015-01-28 02:25:39 +08:00
|
|
|
include ":grpc-netty"
|
2016-12-03 06:46:31 +08:00
|
|
|
include ":grpc-netty-shaded"
|
2015-10-30 07:31:29 +08:00
|
|
|
include ":grpc-grpclb"
|
2015-01-28 02:25:39 +08:00
|
|
|
include ":grpc-testing"
|
2016-12-07 01:32:04 +08:00
|
|
|
include ":grpc-testing-proto"
|
Rename integration-testing to interop-testing
"Interoperability" is a more appropriate name for the tests, since they
are used for testing across different implementations. They will do a
bit of integration testing, like for auth, but this is a smaller scale.
It seems the other languages (Go, C++, Node, PHP, Python, Ruby) are
using "interop" to describe the tests, and the test case specifications
document is named with "interop". After this change, C# will be the only
language calling them "integration" tests.
This change just renames the folder and artifact. We can change the
internal package names later. However, once we do a release, old
artifact names will live forever in Maven Central.
2015-05-21 04:23:11 +08:00
|
|
|
include ":grpc-interop-testing"
|
2017-10-07 01:44:58 +08:00
|
|
|
include ":grpc-gae-interop-testing-jdk8"
|
2015-01-28 02:25:39 +08:00
|
|
|
include ":grpc-all"
|
2018-02-16 01:28:00 +08:00
|
|
|
include ":grpc-alts"
|
2015-02-11 08:01:26 +08:00
|
|
|
include ":grpc-benchmarks"
|
2016-05-21 05:03:29 +08:00
|
|
|
include ":grpc-services"
|
2018-12-18 02:50:54 +08:00
|
|
|
include ":grpc-xds"
|
2019-02-02 06:00:05 +08:00
|
|
|
include ":grpc-bom"
|
2020-02-29 13:41:19 +08:00
|
|
|
include ":grpc-rls"
|
2022-02-14 23:10:18 +08:00
|
|
|
include ":grpc-authz"
|
2022-01-28 01:58:19 +08:00
|
|
|
include ":grpc-observability"
|
2014-12-16 01:58:05 +08:00
|
|
|
|
2019-04-13 08:37:13 +08:00
|
|
|
project(':grpc-api').projectDir = "$rootDir/api" as File
|
2015-01-28 02:25:39 +08:00
|
|
|
project(':grpc-core').projectDir = "$rootDir/core" as File
|
2016-09-02 07:00:43 +08:00
|
|
|
project(':grpc-context').projectDir = "$rootDir/context" as File
|
2015-01-28 02:25:39 +08:00
|
|
|
project(':grpc-stub').projectDir = "$rootDir/stub" as File
|
2020-01-14 06:35:29 +08:00
|
|
|
project(':grpc-census').projectDir = "$rootDir/census" as File
|
2015-01-28 02:25:39 +08:00
|
|
|
project(':grpc-auth').projectDir = "$rootDir/auth" as File
|
|
|
|
project(':grpc-okhttp').projectDir = "$rootDir/okhttp" as File
|
2015-04-11 06:40:44 +08:00
|
|
|
project(':grpc-protobuf').projectDir = "$rootDir/protobuf" as File
|
2016-03-23 02:31:36 +08:00
|
|
|
project(':grpc-protobuf-lite').projectDir = "$rootDir/protobuf-lite" as File
|
2015-01-28 02:25:39 +08:00
|
|
|
project(':grpc-netty').projectDir = "$rootDir/netty" as File
|
2016-12-03 06:46:31 +08:00
|
|
|
project(':grpc-netty-shaded').projectDir = "$rootDir/netty/shaded" as File
|
2015-10-30 07:31:29 +08:00
|
|
|
project(':grpc-grpclb').projectDir = "$rootDir/grpclb" as File
|
2015-01-28 02:25:39 +08:00
|
|
|
project(':grpc-testing').projectDir = "$rootDir/testing" as File
|
2016-12-07 01:32:04 +08:00
|
|
|
project(':grpc-testing-proto').projectDir = "$rootDir/testing-proto" as File
|
Rename integration-testing to interop-testing
"Interoperability" is a more appropriate name for the tests, since they
are used for testing across different implementations. They will do a
bit of integration testing, like for auth, but this is a smaller scale.
It seems the other languages (Go, C++, Node, PHP, Python, Ruby) are
using "interop" to describe the tests, and the test case specifications
document is named with "interop". After this change, C# will be the only
language calling them "integration" tests.
This change just renames the folder and artifact. We can change the
internal package names later. However, once we do a release, old
artifact names will live forever in Maven Central.
2015-05-21 04:23:11 +08:00
|
|
|
project(':grpc-interop-testing').projectDir = "$rootDir/interop-testing" as File
|
2017-10-07 01:44:58 +08:00
|
|
|
project(':grpc-gae-interop-testing-jdk8').projectDir = "$rootDir/gae-interop-testing/gae-jdk8" as File
|
2015-01-28 02:25:39 +08:00
|
|
|
project(':grpc-all').projectDir = "$rootDir/all" as File
|
2018-02-16 01:28:00 +08:00
|
|
|
project(':grpc-alts').projectDir = "$rootDir/alts" as File
|
2015-02-11 08:01:26 +08:00
|
|
|
project(':grpc-benchmarks').projectDir = "$rootDir/benchmarks" as File
|
2016-05-21 05:03:29 +08:00
|
|
|
project(':grpc-services').projectDir = "$rootDir/services" as File
|
2018-12-18 02:50:54 +08:00
|
|
|
project(':grpc-xds').projectDir = "$rootDir/xds" as File
|
2019-02-02 06:00:05 +08:00
|
|
|
project(':grpc-bom').projectDir = "$rootDir/bom" as File
|
2020-02-29 13:41:19 +08:00
|
|
|
project(':grpc-rls').projectDir = "$rootDir/rls" as File
|
2022-02-14 23:10:18 +08:00
|
|
|
project(':grpc-authz').projectDir = "$rootDir/authz" as File
|
2022-01-28 01:58:19 +08:00
|
|
|
project(':grpc-observability').projectDir = "$rootDir/observability" as File
|
2015-05-06 07:11:27 +08:00
|
|
|
|
2015-05-07 04:10:28 +08:00
|
|
|
if (settings.hasProperty('skipCodegen') && skipCodegen.toBoolean()) {
|
2018-06-12 09:35:18 +08:00
|
|
|
println '*** Skipping the build of codegen and compilation of proto files because skipCodegen=true'
|
2015-05-06 07:11:27 +08:00
|
|
|
} else {
|
2018-06-12 09:35:18 +08:00
|
|
|
include ":grpc-compiler"
|
|
|
|
project(':grpc-compiler').projectDir = "$rootDir/compiler" as File
|
2015-05-06 07:11:27 +08:00
|
|
|
}
|
2020-01-10 07:20:41 +08:00
|
|
|
|
|
|
|
if (settings.hasProperty('skipAndroid') && skipAndroid.toBoolean()) {
|
|
|
|
println ' * Skipping the build of Android projects because skipAndroid=true'
|
|
|
|
} else {
|
|
|
|
println '*** Android SDK is required. To avoid building Android projects, set -PskipAndroid=true'
|
|
|
|
include ":grpc-cronet"
|
|
|
|
project(':grpc-cronet').projectDir = "$rootDir/cronet" as File
|
2020-03-05 07:40:39 +08:00
|
|
|
include ":grpc-android"
|
|
|
|
project(':grpc-android').projectDir = "$rootDir/android" as File
|
2020-03-20 03:37:48 +08:00
|
|
|
include ":grpc-android-interop-testing"
|
|
|
|
project(':grpc-android-interop-testing').projectDir = "$rootDir/android-interop-testing" as File
|
2021-03-25 06:40:11 +08:00
|
|
|
include ":grpc-binder"
|
|
|
|
project(':grpc-binder').projectDir = "$rootDir/binder" as File
|
2020-01-10 07:20:41 +08:00
|
|
|
}
|