Skip to content

Instantly share code, notes, and snippets.

@suztomo
Created November 20, 2019 15:35
Show Gist options
  • Save suztomo/1aa9bf01b9765b6af0652f1c251ca573 to your computer and use it in GitHub Desktop.
Save suztomo/1aa9bf01b9765b6af0652f1c251ca573 to your computer and use it in GitHub Desktop.
Gradle lint for Apache Beam sdks/java/io/google-cloud-platform
> Task :autoLintGradle
This project contains lint violations. A complete listing of the violations follows.
Because none were serious, the build's overall status was unaffected.
warning unused-dependency one or more classes in io.grpc:grpc-api:1.21.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in io.grpc:grpc-api:1.21.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in io.grpc:grpc-api:1.21.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.apache.avro:avro:1.8.2 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
runners/core-construction-java/build.gradle:45
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
runners/core-construction-java/build.gradle:46
testCompile library.java.hamcrest_library
warning unused-dependency this dependency is unused and can be removed
runners/core-construction-java/build.gradle:47
testCompile library.java.junit
warning unused-dependency this dependency is unused and can be removed
runners/core-construction-java/build.gradle:48
testCompile library.java.mockito_core
warning unused-dependency this dependency is unused and can be removed
runners/core-construction-java/build.gradle:49
testCompile library.java.jackson_annotations
warning unused-dependency this dependency is a service provider unused at compileClasspath time and can be moved to the runtimeOnly configuration (no auto-fix available)
runners/core-construction-java/build.gradle:50
testCompile library.java.jackson_dataformat_yaml
warning unused-dependency this dependency is unused and can be removed
runners/core-construction-java/build.gradle:50
testCompile library.java.jackson_dataformat_yaml
warning unused-dependency one or more classes in org.apache.beam:beam-vendor-grpc-1_21_0:0.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:1.3.9 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
runners/core-java/build.gradle:43
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
runners/core-java/build.gradle:44
testCompile library.java.hamcrest_library
warning unused-dependency this dependency is a service provider unused at compileClasspath time and can be moved to the runtimeOnly configuration (no auto-fix available)
runners/core-java/build.gradle:47
testCompile library.java.jackson_dataformat_yaml
warning unused-dependency this dependency is unused and can be removed
runners/core-java/build.gradle:47
testCompile library.java.jackson_dataformat_yaml
warning unused-dependency one or more classes in com.fasterxml.jackson.core:jackson-databind:2.9.10 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:1.3.9 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.fasterxml.jackson.core:jackson-annotations:2.9.10 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency should be moved to configuration testCompile (no auto-fix available)
runners/direct-java/build.gradle:73
provided library.java.junit
warning unused-dependency one or more classes in com.google.auto.value:auto-value-annotations:1.6.3 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.apache.commons:commons-compress:1.19 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.fasterxml.jackson.core:jackson-databind:2.9.10 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in beam.model:job-management:2.18.0-SNAPSHOT are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in joda-time:joda-time:2.10.3 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.fasterxml.jackson.core:jackson-core:2.9.10 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:3.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
runners/java-fn-execution/build.gradle:40
testCompile library.java.junit
warning unused-dependency this dependency is unused and can be removed
runners/java-fn-execution/build.gradle:41
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
runners/java-fn-execution/build.gradle:42
testCompile library.java.hamcrest_library
warning unused-dependency this dependency is unused and can be removed
runners/java-fn-execution/build.gradle:43
testCompile library.java.mockito_core
warning unused-dependency this dependency is unused and can be removed
runners/local-java/build.gradle:37
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
runners/local-java/build.gradle:38
testCompile library.java.hamcrest_library
warning unused-dependency this dependency is unused and can be removed
runners/local-java/build.gradle:39
testCompile library.java.junit
warning unused-dependency one or more classes in org.apache.beam:beam-vendor-guava-26_0-jre:0.1 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
vendor/sdks-java-extensions-protobuf/build.gradle:57
compile 'com.google.guava:guava:26.0-jre'
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:1.3.9 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.apache.beam:beam-vendor-grpc-1_21_0:0.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.codehaus.jackson:jackson-core-asl:1.9.13 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.objenesis:objenesis:2.6 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
sdks/java/core/build.gradle:62
antlr library.java.antlr
warning unused-dependency this dependency should be moved to configuration compile (no auto-fix available)
sdks/java/core/build.gradle:80
provided library.java.junit
warning unused-dependency this dependency should be moved to configuration testCompile (no auto-fix available)
sdks/java/core/build.gradle:80
provided library.java.junit
warning unused-dependency this dependency is a service provider unused at compileClasspath time and can be moved to the runtimeOnly configuration (no auto-fix available)
sdks/java/core/build.gradle:83
shadowTest library.java.jackson_dataformat_yaml
warning unused-dependency this dependency is unused and can be removed
sdks/java/core/build.gradle:83
shadowTest library.java.jackson_dataformat_yaml
warning unused-dependency this dependency is unused and can be removed
sdks/java/core/build.gradle:86
shadowTest library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/core/build.gradle:87
shadowTest library.java.hamcrest_library
warning unused-dependency this dependency is unused and can be removed
sdks/java/core/build.gradle:91
shadowTest library.java.zstd_jni
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
sdks/java/fn-execution/build.gradle:36
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/fn-execution/build.gradle:37
testCompile library.java.hamcrest_library
warning unused-dependency one or more classes in com.google.auto.value:auto-value-annotations:1.6.3 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:3.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.powermock:powermock-core:2.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is a service provider unused at compileClasspath time and can be moved to the runtimeOnly configuration (no auto-fix available)
sdks/java/harness/build.gradle:59
compile library.java.jackson_databind
warning unused-dependency this dependency is unused and can be removed
sdks/java/harness/build.gradle:59
compile library.java.jackson_databind
warning unused-dependency this dependency is unused and can be removed
sdks/java/harness/build.gradle:67
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/harness/build.gradle:68
testCompile library.java.hamcrest_library
warning unused-dependency one or more classes in com.google.auto.value:auto-value-annotations:1.6.3 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:3.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is a service provider unused at compileClasspath time and can be moved to the runtimeOnly configuration (no auto-fix available)
sdks/java/extensions/google-cloud-platform-core/build.gradle:51
compile library.java.jackson_databind
warning unused-dependency this dependency is unused and can be removed
sdks/java/extensions/google-cloud-platform-core/build.gradle:51
compile library.java.jackson_databind
warning unused-dependency this dependency should be moved to configuration testCompile (no auto-fix available)
sdks/java/extensions/google-cloud-platform-core/build.gradle:53
provided library.java.junit
warning unused-dependency this dependency is unused and can be removed
sdks/java/extensions/google-cloud-platform-core/build.gradle:55
testCompile library.java.hamcrest_library
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:1.3.9 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
sdks/java/extensions/protobuf/build.gradle:31
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/extensions/protobuf/build.gradle:32
testCompile library.java.hamcrest_library
warning unused-dependency this dependency is unused and can be removed
sdks/java/extensions/protobuf/build.gradle:33
testCompile library.java.mockito_core
warning unused-dependency one or more classes in org.slf4j:slf4j-api:1.7.25 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.hamcrest:hamcrest:2.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.api:gax:1.38.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.apache.beam:beam-vendor-guava-26_0-jre:0.1 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.auto.value:auto-value-annotations:1.6.3 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.auto.value:auto-value:1.4 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.code.findbugs:jsr305:3.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.codehaus.jackson:jackson-core-asl:1.9.13 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.powermock:powermock-reflect:2.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in beam.model:pipeline:2.18.0-SNAPSHOT are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.powermock:powermock-core:2.0.2 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.apis:google-api-services-storage:v1-rev20181109-1.28.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in com.google.api:api-common:1.7.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in beam.model:job-management:2.18.0-SNAPSHOT are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.apache.beam:beam-vendor-grpc-1_21_0:0.1 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
sdks/java/io/google-cloud-platform/build.gradle:45
compile library.java.google_cloud_core_grpc
warning unused-dependency this dependency is unused and can be removed
sdks/java/io/google-cloud-platform/build.gradle:49
compile library.java.google_http_client_jackson2
warning unused-dependency this dependency should be removed since its artifact is empty (no auto-fix available)
sdks/java/io/google-cloud-platform/build.gradle:50
compile library.java.grpc_all
warning unused-dependency this dependency is unused and can be removed
sdks/java/io/google-cloud-platform/build.gradle:60
compile library.java.netty_tcnative_boringssl_static
warning unused-dependency this dependency is unused and can be removed
sdks/java/io/google-cloud-platform/build.gradle:65
compile library.java.proto_google_cloud_spanner_admin_database_v1
warning unused-dependency this dependency is unused and can be removed
sdks/java/io/google-cloud-platform/build.gradle:76
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/io/google-cloud-platform/build.gradle:77
testCompile library.java.hamcrest_library
warning unused-dependency one or more classes in com.google.cloud:google-cloud-core:1.61.0 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in joda-time:joda-time:2.10.3 are required by your code directly (no auto-fix available)
warning unused-dependency one or more classes in org.slf4j:slf4j-api:1.7.25 are required by your code directly (no auto-fix available)
warning unused-dependency this dependency is unused and can be removed
sdks/java/testing/test-utils/build.gradle:35
testCompile library.java.mockito_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/testing/test-utils/build.gradle:36
testCompile library.java.hamcrest_core
warning unused-dependency this dependency is unused and can be removed
sdks/java/testing/test-utils/build.gradle:37
testCompile library.java.hamcrest_library
✖ 104 problems (0 errors, 104 warnings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment