Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Add note to README that Gradle 5.2 will have generatedSourcesDir
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroyer committed Jan 3, 2019
1 parent de0dc8b commit 24e7606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ If you use older versions of Gradle, you can still benefit from those features:
With recent versions of Gradle, this plugin will actually only:
* configure `JavaCompile` and `GroovyCompile` tasks' `options.annotationProcessorGeneratedSourcesDirectory` with a _sane_ default value so you can see the generated sources in your IDE and for debugging, and avoid shipping them in your JARs ([see Gradle issue](https://github.com/gradle/gradle/issues/4956), fixed in Gradle 5.2);
* add some DSL to configure annotation processors; it is however recommended to directly configure the tasks' `options.compilerArgs`.
* backport the `sourceSet.output.generatedSourcesDirs` API (added in Gradle 5.2)

Quite ironically, what you'll probably find the most useful here is the part that's only provided as a "best effort",
namely the `net.ltgt.apt-idea` or `net.ltgt.apt-eclipse` plugins that will automatically configures IntelliJ IDEA and Eclipse respectively.
Expand Down

0 comments on commit 24e7606

Please sign in to comment.