Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Ben Bader 86e89af427
Move version catalog into TOML file, put plugins there (#472) 2022-04-11 23:29:58 -06:00
Ben Bader e38faa544d
Fix various Gradle deprecations around version catalogs (#470) 2022-04-11 17:11:18 -06:00
Ben Bader 7bdb221058
Replace subprojects/allprojects with buildSrc and version catalogs (#456) 2021-08-01 21:22:45 -06:00
Ben Bader c9be396db8
JUnit 4 -> 5 (#396) 2020-08-24 09:16:49 -07:00
Ben Bader 7a7d7aa1bc
Upgrade Hamcrest from 1.3 -> 2.2 (#386) 2020-08-22 18:02:58 -07:00
Ben Bader e1a390e2bf
Move to gradle-maven-publish-plugin (#343) 2020-05-15 00:41:11 -07:00
Ben Bader 14607e5dd5
Use openjdk instead of oracle jdk (#321)
* Use openjdk instead of oracle jdk

* Don't force Java 8 compatibility in the compiler

* Remove generated annotations from apache thrift classes

* Remove ErrorProne
2019-11-07 15:39:19 -08:00
Ben Bader 78f0a79430
Bump errorprone, only use it on Java modules (#255) 2018-10-30 11:04:21 -07:00
Ben Bader 75067bcbcf
Kotlin codegen (#183) 2018-07-29 20:42:37 -07:00
Ben Bader 03c5e7b098 Apply codecov.io configuration (#134) 2017-03-09 14:21:28 -08:00
Ben Bader e6f1cb7298 Add JaCoCo report generation (#127) 2017-03-08 13:29:16 -08:00
Ben Bader 13c0b8eed8 Use 'java-library' plugin instead of 'java' (#121)
This paves the way for Java 9 compatibility, and removes some
implementation details from consumers' compile-time classpaths.  This
may break said consumers.
2017-03-02 16:43:43 -08:00
Ben Bader c5af0091fb Assign copyright to Microsoft, conform with MS OSS requirements 2016-02-22 17:19:38 -08:00
Ben Bader 41804d186c Update license headers for 2016 2016-01-22 17:58:18 -08:00
Ben Bader 9a3c9be424 Add post-processing SPI for modifying generated types
We have the need internally to modify generated Thrift classes.  This is currently
done ad-hoc with a combination of Python and sed scripting, but we can and should
be more rigorous.

This commit introduces `TypeProcessor` as an SPI, implementations of which can be
provided on the command line.  Implementations will receive a JavaPoet `TypeSpec`
for every generated class, before that type is written, and must return a `TypeSpec`.
The returned type will be what is written to disk.

The returned `TypeSpec` will typically be augmented in some way - a new interface
implementation, or additional methods, or anything else one might wish.
2015-12-18 14:10:52 -08:00