Skip to content

Commit fe7f4bd

Browse files
authored
added badges for maven-central
1 parent 0e2b1ab commit fe7f4bd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[![Build Status](https://travis-ci.org/tmtron/enum-mapper.svg?label=travis)](https://travis-ci.org/tmtron/enum-mapper/builds)
3-
[![license](https://img.shields.io/github/license/tmtron/enum-mapper.svg?maxAge=2592000)](https://raw.githubusercontent.com/tmtron/enum-mapper/master/LICENSE)
3+
[![license](https://img.shields.io/github/license/tmtron/enum-mapper.svg?maxAge=2592000)](https://raw.githubusercontent.com/tmtron/enum-mapper/master/LICENSE)
44

55
# enum-mapper
66
The main use: make sure that you always handle all available constants of an enum. An annotation processor will
@@ -11,12 +11,19 @@ You can also use a [Partial Mapper](#partial-enum-mapper) and it supports [Rever
1111

1212
The project is available in [Maven Central](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.tmtron.enums%22) and
1313
[JCenter-Bintray](https://bintray.com/tmtron/maven/com.tmtron.enum-mapper) repositories.
14-
14+
1515
```gradle
1616
def VERSION_ENUM_MAPPER = '1.0.1' // check for newer versions here: https://goo.gl/LSP1fv
1717
compile "com.tmtron.enums:enum-mapper-lib:${VERSION_ENUM_MAPPER}"
1818
apt "com.tmtron.enums:enum-mapper-processor:${VERSION_ENUM_MAPPER}"
1919
```
20+
### enum-mapper-lib [![Maven Central lib](https://img.shields.io/maven-central/v/com.tmtron.enums/enum-mapper-lib.svg?maxAge=2592000)](https://maven-badges.herokuapp.com/maven-central/com.tmtron.enums/enum-mapper-lib)
21+
Contains java code and annoations.
22+
This is always needed at compile-time.
23+
24+
### enum-mapper-processor [![Maven Central processor](https://img.shields.io/maven-central/v/com.tmtron.enums/enum-mapper-processor.svg?maxAge=2592000)](https://maven-badges.herokuapp.com/maven-central/com.tmtron.enums/enum-mapper-processor)
25+
Contains the annotation-processor.
26+
This is needed by the annotation-processing build-step (`apt`) and it is only required for the [Full Enum Mapper](#full-enum-mapper).
2027

2128
## Full Enum Mapper
2229

0 commit comments

Comments
 (0)