commit | bffac145b41c24424bbce8197f5a8eee22c7e13f | [log] [tgz] |
---|---|---|
author | ludo <ludo@google.com> | Mon Nov 25 16:55:49 2019 -0800 |
committer | Nick Glorioso <nick@nickglorioso.com> | Tue Nov 26 11:17:45 2019 -0500 |
tree | 7e227a0870ac32a844d231c942b9d68de7e3935d | |
parent | 28a2c791575a7e4545293169bea0921b81363a3d [diff] |
Rollback 28a2c791575a7e4545293169bea0921b81363a3d *** Reason for rollback *** breaks internal test *** Original change description *** Use CLASS retention for @AutoService Gradle incremental aggregating processors require all processed annotations to have CLASS retention so that the incremental compiler can substitute a class file for a source file if the file is unchanged. With SOURCE retention, Gradle requires a full rebuild. See: https://github.com/google/auto/issues/615 https://docs.gradle.org/6.0.1/userguide/java_plugin.html#aggregating_annotation_processors https://github.com/gradle/gradle/blob/v6.0.1/subprojects/langua... *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=282462095
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 7+.
Common - Helper utilities for writing annotation processors.
Copyright 2013 Google LLC 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.