Note: Recompile with -Xlint:deprecation for details../gradlew lint -Xlint:deprecationProblem configuring task :app:lint from command line.那么,我如何通过gradle将-Xlint:deprecation传递给Lint呢?
DEPRECATION WARNING: ActiveSupport::Dependencies.load_paths is deprecated, please use autoload_pathsload_paths at /home/soundarapandian/.rvm/gems/ruby-1.8.7-p352/gems/desert-0.5.2/lib/desert/manager.rb:36)
DEPRECATIONload_paths at
[INFO] SomeClass.java: Recompile with -Xlint:deprecation for details.但是,当我把-Xlint:deprecation或-Xlint:unchecked放到我的MAVEN_OPTS或.mvn/maven.config中时,我得到:
$ MAVEN_OPTS="-Xlint