Skip to content

Commit

Permalink
Fixed checker-qual issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sonam-vend committed Jan 11, 2021
1 parent 8d7eb82 commit 7f8c721
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,22 @@ package org.apache.beam.gradle
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
import org.gradle.api.attributes.Category
import org.gradle.api.GradleException
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.artifacts.Configuration
import org.gradle.api.artifacts.ProjectDependency
import org.gradle.api.attributes.Category
import org.gradle.api.file.FileCollection
import org.gradle.api.file.FileTree
import org.gradle.api.plugins.quality.Checkstyle
import org.gradle.api.publish.maven.MavenPublication
import org.gradle.api.tasks.Copy
import org.gradle.api.tasks.Delete
import org.gradle.api.tasks.Exec
import org.gradle.api.tasks.JavaExec
import org.gradle.api.tasks.*
import org.gradle.api.tasks.bundling.Jar
import org.gradle.api.tasks.compile.JavaCompile
import org.gradle.api.tasks.javadoc.Javadoc
import org.gradle.api.tasks.testing.Test
import org.gradle.api.tasks.PathSensitive
import org.gradle.api.tasks.PathSensitivity
import org.gradle.testing.jacoco.tasks.JacocoReport

import java.util.concurrent.atomic.AtomicInteger
Expand Down Expand Up @@ -858,7 +853,6 @@ class BeamModulePlugin implements Plugin<Project> {
"com.google.auto.value:auto-value-annotations:1.7.2",
"com.google.auto.service:auto-service-annotations:1.0-rc6",
"com.google.j2objc:j2objc-annotations:1.3",
"org.checkerframework:checker-qual:3.7.0",
"com.google.code.findbugs:jsr305:3.0.2",
// These dependencies are needed to avoid error-prone warnings on package-info.java files,
// also to include the annotations to suppress warnings.
Expand Down Expand Up @@ -996,6 +990,7 @@ class BeamModulePlugin implements Plugin<Project> {
permitUnusedDeclared dep
permitTestUnusedDeclared dep
}
permitUnusedDeclared "org.checkerframework:checker-qual:$checkerframework_version"
}
if (configuration.enableStrictDependencies) {
project.tasks.analyzeClassesDependencies.enabled = true
Expand Down

0 comments on commit 7f8c721

Please sign in to comment.