Skip to content

Commit

Permalink
Update README & CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Driller committed Nov 24, 2015
1 parent 1df5051 commit cf1cc6f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 1.2.0 *(2015-11-24)*
----------------------------

* Add singleton INSTANCE field & method

Version 1.1.0 *(2015-08-17)*
----------------------------

Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public interface TestInterface {
```java
public class NoOpTestInterface implements TestInterface {

public static final TestInterface INSTANCE = new NoOpTestInterface();

@Override
public byte aByte() {
return (byte) 0;
Expand Down Expand Up @@ -90,6 +92,10 @@ public class NoOpTestInterface implements TestInterface {
@Override
public void aVoid() {
}

public static TestInterface noOpTestInterface() {
return INSTANCE;
}
}
```

Expand Down Expand Up @@ -163,7 +169,7 @@ Download
Gradle (using [apt](https://bitbucket.org/hvisser/android-apt)):

```groovy
def noOpVersion = '1.1.0'
def noOpVersion = '1.2.0'
compile "com.jenzz.noop:annotation:$noOpVersion"
apt "com.jenzz.noop:processor:$noOpVersion"
```
Expand All @@ -174,7 +180,7 @@ Maven (using [maven-compiler-plugin](http://maven.apache.org/plugins/maven-compi
<dependency>
<groupId>com.jenzz.noop</groupId>
<artifactId>annotation</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>

<build>
Expand All @@ -188,7 +194,7 @@ Maven (using [maven-compiler-plugin](http://maven.apache.org/plugins/maven-compi
<dependency>
<groupId>com.jenzz.noop</groupId>
<artifactId>processor</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down

0 comments on commit cf1cc6f

Please sign in to comment.