diff options
author | ZHANG Dapeng <zdapeng@google.com> | 2018-06-11 18:35:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 18:35:18 -0700 |
commit | 5ce10f0146ddce96bc1e6884fe55d8623880b528 (patch) | |
tree | 74dd7fcfff4f3dcc5e9de108d7cfa385bce564ec /android | |
parent | 9d26c5c40596693bb643d267ab2f3d25b15ed36b (diff) | |
download | grpc-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 'android')
-rw-r--r-- | android/build.gradle | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/android/build.gradle b/android/build.gradle index 2385c4edb..aff2cf2a1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,9 +9,7 @@ buildscript { google() jcenter() mavenCentral() - maven { - url "https://plugins.gradle.org/m2/" - } + maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' @@ -33,9 +31,7 @@ android { versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } - lintOptions { - abortOnError false - } + lintOptions { abortOnError false } } repositories { |