aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorZHANG Dapeng <zdapeng@google.com>2018-06-11 18:35:18 -0700
committerGitHub <noreply@github.com>2018-06-11 18:35:18 -0700
commit5ce10f0146ddce96bc1e6884fe55d8623880b528 (patch)
tree74dd7fcfff4f3dcc5e9de108d7cfa385bce564ec /settings.gradle
parent9d26c5c40596693bb643d267ab2f3d25b15ed36b (diff)
downloadgrpc-grpc-java-5ce10f0146ddce96bc1e6884fe55d8623880b528.tar.gz
all: add gradle format checker
This PR adds an automatic gradle format checker and reformats all the *.gradle files. After this, new changes to *.gradle files will fail to build if not in good format, just like checkStyle failure.
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings.gradle b/settings.gradle
index 357ff9c7d..65dd76339 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -42,8 +42,8 @@ project(':grpc-benchmarks').projectDir = "$rootDir/benchmarks" as File
project(':grpc-services').projectDir = "$rootDir/services" as File
if (settings.hasProperty('skipCodegen') && skipCodegen.toBoolean()) {
- println '*** Skipping the build of codegen and compilation of proto files because skipCodegen=true'
+ println '*** Skipping the build of codegen and compilation of proto files because skipCodegen=true'
} else {
- include ":grpc-compiler"
- project(':grpc-compiler').projectDir = "$rootDir/compiler" as File
+ include ":grpc-compiler"
+ project(':grpc-compiler').projectDir = "$rootDir/compiler" as File
}