Skip to content

Commit

Permalink
Add hint for gradle 5.0 for annotationPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Poeschl authored and mkarneim committed Mar 10, 2019
1 parent c4f7948 commit 9bc6d32
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,17 @@ The wiki contains an [extended Gradle script] that distinguishes completely betw

There is [another Gradle script] that enables PojoBuilder for Eclipse IDE.

#### Gradle 5.0

With Gradle 5.0 any annotation processor in the classpath don't get executed anymore.
To make pojobuilder work again, replace the used dependency scope with `annotationProcessor`

```groovy
dependencies {
annotationProcessor 'net.karneim:pojobuilder:4.2.2'
}
```

### Using Ant

Here is a code snippet of some [sample ANT build script] that runs the PojoBuilder annotation processor within the `javac` task.
Expand Down

0 comments on commit 9bc6d32

Please sign in to comment.