diff options
author | Kun Zhang <zhangkun@google.com> | 2015-05-06 13:10:28 -0700 |
---|---|---|
committer | Kun Zhang <zhangkun@google.com> | 2015-05-07 14:14:10 -0700 |
commit | 2f7497133d834e046b918f863c607ea210dc8b8d (patch) | |
tree | 9a6f606978dfbeeaa9d668926188f244b05fa487 /settings.gradle | |
parent | c5b94c7525b455772c81b9cdf11e615f66f41c35 (diff) | |
download | grpc-grpc-java-2f7497133d834e046b918f863c607ea210dc8b8d.tar.gz |
Unify build properties.
- Switch all system properties to project properties.
- Use the ``javaLocalNamingStyle`` instead of the
``dot.delimited.style`` for property names, so that it can be directly
referenced by ``rootProject.propertyName``.
- Recommend users to put GRPC-specific properties in project-level
``build.properties`` instead of the user-level.
Diffstat (limited to 'settings.gradle')
-rw-r--r-- | settings.gradle | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/settings.gradle b/settings.gradle index fbc654159..be6bdcaab 100644 --- a/settings.gradle +++ b/settings.gradle @@ -25,9 +25,8 @@ project(':grpc-all').projectDir = "$rootDir/all" as File project(':grpc-benchmarks').projectDir = "$rootDir/benchmarks" as File project(':grpc-examples').projectDir = "$rootDir/examples" as File -if (settings.hasProperty('grpc.skip.codegen') - && settings.getProperty('grpc.skip.codegen').toBoolean()) { - println '*** Skipping the build of codegen and compilation of proto files because grpc.skip.codegen=true' +if (settings.hasProperty('skipCodegen') && skipCodegen.toBoolean()) { + 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 |