Skip to content

Commit 08b7dc3

Browse files
committed
V1.0.4
1 parent bace258 commit 08b7dc3

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,22 @@
55
# enum-mapper
66
The main use: make sure that you always handle all available constants of an enum. An annotation processor will
77
make sure that you get a compile-time error otherwise: see [Full Enum Mapper](#full-enum-mapper).
8-
You can also use a [Partial Mapper](#partial-enum-mapper) and it supports [Reverse Mapping](#reverse-mapping).
8+
You can also use a [Partial Mapper](#partial-enum-mapper) and it supports [Reverse Mapping](#reverse-mapping).
9+
Since version 1.4 [Incremental Annotation Processing ](https://docs.gradle.org/current/userguide/java_plugin.html#sec:incremental_annotation_processing)
10+
is supported for Gradle builds.
911

1012
## Build Configuration
1113

1214
The project is available in [Maven Central](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.tmtron.enums%22) and
1315
[JCenter-Bintray](https://bintray.com/tmtron/maven/com.tmtron.enum-mapper) repositories.
1416

1517
```gradle
16-
final VERSION_ENUM_MAPPER = '1.0.3' // check for newer versions here: https://goo.gl/LSP1fv
17-
compile "com.tmtron.enums:enum-mapper-lib:${VERSION_ENUM_MAPPER}"
18-
apt "com.tmtron.enums:enum-mapper-processor:${VERSION_ENUM_MAPPER}"
18+
final VERSION_ENUM_MAPPER = '1.0.4' // check for newer versions here: https://goo.gl/LSP1fv
19+
implementation "com.tmtron.enums:enum-mapper-lib:${VERSION_ENUM_MAPPER}"
20+
annotationProcessor "com.tmtron.enums:enum-mapper-processor:${VERSION_ENUM_MAPPER}"
1921
```
2022
### enum-mapper-lib
21-
Contains java code and annoations.
23+
Contains java code and annotations.
2224
This is always needed at compile-time.
2325
[![Maven Central lib](https://img.shields.io/maven-central/v/com.tmtron.enums/enum-mapper-lib.svg?maxAge=86400)](https://maven-badges.herokuapp.com/maven-central/com.tmtron.enums/enum-mapper-lib) [![Javadoc](https://javadoc-emblem.rhcloud.com/doc/com.tmtron.enums/enum-mapper-lib/badge.svg?maxAge=86400)](http://www.javadoc.io/doc/com.tmtron.enums/enum-mapper-lib/)
2426

@@ -182,6 +184,5 @@ For example [FindBugs](http://findbugs.sourceforge.net/) has a check *Switch sta
182184
*Disadvantages*
183185
* those are other tools that you must learn to use and maintain
184186

185-
186187
## License
187188
This plugin is under the [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0.html). Copyright 2018, Martin Trummer

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ final isCi = System.getenv("TRAVIS") != null
2828
final isJitpack = System.getenv("JITPACK") != null
2929

3030
ext {
31-
bintrayDryRun = true
31+
bintrayDryRun = false
3232
}
3333

3434
subprojects {
3535

3636
group 'com.tmtron.enums'
37-
version '1.0.4-SNAPSHOT'
37+
version '1.0.4'
38+
// version '1.0.5-SNAPSHOT'
3839
description 'Annotation processor that builds an enum mapper which causes a compile-time error when you forget an enum'
3940

4041
repositories {

0 commit comments

Comments
 (0)