Gradle Apt Plugin Versions Save

[OBSOLETE] Gradle plugin making it easier/safer to use Java annotation processors

v0.21

5 years ago
  • net.ltgt.apt plugin is a no-op in Gradle 5.2 (except for the aptOptions DSL)
  • add eclipse.jdt.apt.gentestSrcDir (#95, ce474d51a22e0faff5c9fbe160768fc9a473f400)

Mission accomplished!

This version is likely to be the last release, as Gradle 5.2 and IntelliJ IDEA 2019.1 will make this plugin redundant. It's expected that the plugin will continue to work in the foreseeable future with other configurations, and combinations of Gradle and IDE versions.

v0.20

5 years ago
  • Backport upcoming features from Gradle 5.2:
    • Use separate generated output directories for each source set (344e735)
    • sourceSet.output.generatedSourcesDirs (6e375fe)
  • Update supported baseline:
    • Removed support for older versions of Gradle. Only 4.3 onward is supported. (8be128b)
    • Removed deprecated API (e2525bb)
    • Removed support for older IntelliJ IDEA versions (ec385dd)
    • Remove support for Java 7 (97666b3)

v0.19

5 years ago

Small fixes to net.ltgt.apt-eclipse (e.g. #90)

v0.18

5 years ago

Tasks are configured lazily in Gradle 4.9+ (5e8b10f76d13584ed54f183c771fbd10ec3036a0, 432509ec85d1ab49296d4f9b21fad876523c6a8a)

v0.17

5 years ago

Same as v0.16 except without the “Add generated sources to source sets' allJava and allSource” change, as it broke too many things (see #78 and #85)

v0.16

5 years ago

WARNING: this release breaks many other plugins, as well as IDE integration; see #78 and #85. Please use v0.17 instead.

  • Add generated sources to source sets' allJava and allSource, though only in Gradle ≥ 3.2, earlier versions are missing features to properly support it (#78, aedc842a6d19e6f8dd0c9e650cddf13fb4a68118 and 644da5f2030bcc23a8c1d2ff51bbff181a81e084)
  • "Name" the CommandLineArgumentProvider used in options.compilerArgumentProviders in Gradle ≥ 4.6, for better traceability in Gradle 4.7 (68eaca2e9f17da2b58d6b9774585fa1a5b696f45)
  • Refactor the plugin to use an extension rather than a convention wherever possible (851153ded9be50eedbf011597dd821c726215df3, 0561c081dd32ad6d28befb4180b15bfe2d9a9193)

v0.15

6 years ago

v0.14

6 years ago
  • <sourceSet>Apt configurations are deprecated, replaced with <sourceSet>AnnotationProcessor (this also applies to source sets' processorpath, renamed to annotationProcessorPath)
  • aptOptions.processorpath is deprecated when used with Gradle 3.4+, users should migrate to the built-in options.annotationProcessorPath
  • generatedSourcesDestinationDir is deprecated when used with Gradle 4.3+, users should migrate to the built-in options.annotationProcessorGeneratedSourcesDirectory
  • IDE tasks (gradle idea or gradle eclipseFactorypath) should now trigger builds of project dependencies (#77)
  • Overhaul of the plugin internals

v0.13

6 years ago
  • Support for Gradle 4.3
  • Compilation tasks should (hopefully) be cacheable; this however won't be the case if both Java and Groovy compilation tasks are used for the same source set (e.g. src/main/java and src/main/groovy), unless they are reconfigured to use distinct generated sources destination directories.

v0.12

6 years ago
  • Add idea { module { apt { … } } } and idea { project { configureAnnotationProcessing } } } DSLs
  • Detect when the project is imported in IntelliJ IDEA and adapt dependency scopes (#58, 2effa8955c65030f98513d21ed48902d81a3b710)