Add a compiler option in CompilationTest.correctBuilder() that should fix a test failure that only occurs on Travis. The failure looks like this: https://travis-ci.org/google/auto/builds/216977126 """ correctBuilder(com.google.auto.value.processor.CompilationTest) Time elapsed: 0.173 sec <<< FAILURE! java.lang.AssertionError: Expected 0 warnings, but found the following 1 warnings: Implicitly compiled files were not subject to annotation processing. Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. """ I don't know exactly what provokes it or why it only shows up in the Travis build. Apparently some source file is being implicitly compiled, but what can it be? We already include the only two source files in sight explicitly. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=151842333
A collection of source code generators for Java.
Java is full of code that is mechanical, repetitive, typically untested and sometimes the source of subtle bugs. Sounds like a job for robots!
The Auto subprojects are a collection of code generators that automate those types of tasks. They create the code you would have written, but without the bugs.
Save time. Save code. Save sanity.
AutoFactory - JSR-330-compatible factories
AutoService - Provider-configuration files for ServiceLoader
AutoValue - Immutable value-type code generation for Java 1.6+.
Common - Helper utilities for writing annotation processors.
Copyright 2013 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.