How to exclude errorprone annotations from _deploy.jar's #313
              
                Unanswered
              
          
                  
                    
                      arturbosch
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
pretty new to Bazel and rules_java.
Our code is not rdy for errorprone checks and we disabled them with
--javacopt="-XepDisableAllChecks".However I noticed that the annotations are still included in each deploy jar. How do I remove that dependency?
I tried to include them explicitly in a
java_libraryand mark it withneverlink. <- this works for other external annotations.Thanks
Beta Was this translation helpful? Give feedback.
All reactions