AutoValue: Extension Utilities

Utilities for AutoValue extensions

License

License

Categories

Categories

Auto Application Layer Libs Code Generators
GroupId

GroupId

com.gabrielittner.auto.value
ArtifactId

ArtifactId

auto-value-extension-util
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

AutoValue: Extension Utilities
Utilities for AutoValue extensions
Project URL

Project URL

https://github.com/gabrielittner/auto-value-extension-util/
Source Code Management

Source Code Management

https://github.com/gabrielittner/auto-value-extension-util/

Download auto-value-extension-util

How to add to project

<!-- https://jarcasting.com/artifacts/com.gabrielittner.auto.value/auto-value-extension-util/ -->
<dependency>
    <groupId>com.gabrielittner.auto.value</groupId>
    <artifactId>auto-value-extension-util</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.gabrielittner.auto.value/auto-value-extension-util/
implementation 'com.gabrielittner.auto.value:auto-value-extension-util:0.4.0'
// https://jarcasting.com/artifacts/com.gabrielittner.auto.value/auto-value-extension-util/
implementation ("com.gabrielittner.auto.value:auto-value-extension-util:0.4.0")
'com.gabrielittner.auto.value:auto-value-extension-util:jar:0.4.0'
<dependency org="com.gabrielittner.auto.value" name="auto-value-extension-util" rev="0.4.0">
  <artifact name="auto-value-extension-util" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gabrielittner.auto.value', module='auto-value-extension-util', version='0.4.0')
)
libraryDependencies += "com.gabrielittner.auto.value" % "auto-value-extension-util" % "0.4.0"
[com.gabrielittner.auto.value/auto-value-extension-util "0.4.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.squareup : javapoet jar 1.11.1
com.google.auto.value : auto-value jar 1.6.2
com.google.auto : auto-common jar 0.10

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
com.google.truth : truth jar 0.42
com.google.testing.compile : compile-testing jar 0.15
com.google.code.findbugs : jsr305 jar 3.0.2

Project Modules

There are no modules declared in this project.

AutoValue: Extension Utilities

A set of utilities to make writing extensions for Google's AutoValue and reduce boilerplate code.

  • Property: A nicer way to work with the properties of the annotated class
  • AutoValueUtil: Convenience methods for the code you have to generate.
  • ElementUtil: Convenience methods around Element

Shading

This project depends on Google's Auto Common Utilities and recommends to shade it:

Users of auto-common are urged to use shade or jarjar (or something similar) in packaging their processors so that conflicting versions of this library do not adversely interact with each other. Source

It is recommended that you shade this library together with Auto Common in your extension.

Download

Add a Gradle dependency:

compile 'com.gabrielittner.auto.value:auto-value-extension-util:0.4.0'

or Maven:

<dependency>
  <groupId>com.gabrielittner.auto.value</groupId>
  <artifactId>auto-value-extension-util</artifactId>
  <version>0.4.0</version>
  <scope>compile</scope>
</dependency>

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Copyright 2016 Gabriel Ittner.

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.

Versions

Version
0.4.0
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0