aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2018-03-20 18:44:32 -0700
committerKristen Kozak <sebright@google.com>2018-03-20 19:54:50 -0700
commitcd131566ed13af2dc9814fb73096a741dcdf867a (patch)
tree2cf17d7c58724ca5b1ea1dbc35295d0719531454 /examples
parent751ea3cd4a3a3c05bc93c90c7bc319aa2a94d7c5 (diff)
downloadplatform_external_opencensus-java-cd131566ed13af2dc9814fb73096a741dcdf867a.tar.gz
platform_external_opencensus-java-cd131566ed13af2dc9814fb73096a741dcdf867a.tar.bz2
platform_external_opencensus-java-cd131566ed13af2dc9814fb73096a741dcdf867a.zip
Move the examples/ checkstyle check from the build file to the Travis script.
This change simplifies the example build file but allows us to continue checking the license headers in CI.
Diffstat (limited to 'examples')
-rw-r--r--examples/build.gradle16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/build.gradle b/examples/build.gradle
index 163b0b80..b42e8e0f 100644
--- a/examples/build.gradle
+++ b/examples/build.gradle
@@ -14,7 +14,6 @@ buildscript {
}
}
-apply plugin: 'checkstyle'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'com.google.protobuf'
@@ -35,21 +34,6 @@ def opencensusVersion = "0.12.2" // LATEST_OPENCENSUS_RELEASE_VERSION
def grpcVersion = "1.9.0" // CURRENT_GRPC_VERSION
def prometheusVersion = "0.3.0"
-checkstyle {
- configFile = file("$rootDir/../buildscripts/checkstyle.xml")
- toolVersion = "8.0"
- ignoreFailures = false
- if (rootProject.hasProperty("checkstyle.ignoreFailures")) {
- ignoreFailures = rootProject.properties["checkstyle.ignoreFailures"].toBoolean()
- }
- configProperties["rootDir"] = file("$rootDir/../")
-}
-
-checkstyleMain {
- // This skips proto generated files beucasue they are in gen_gradle/src/main/**
- source = fileTree(dir: "src/main", include: "**/*.java")
-}
-
// Google formatter works only on java8.
if (JavaVersion.current().isJava8Compatible()) {
googleJavaFormat {