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

17 Коммитов

Автор SHA1 Сообщение Дата
Ben Bader b54e8ce369
Bump Gradle to 7.6, enable build caching (#508)
* Bump Gradle to 7.6

* Enable build caching by default, use it in CI but not integration tests
2022-12-08 14:10:42 -07:00
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 4b730c198f
Bump Kotlin to 1.6.20 (#469) 2022-04-11 16:53:55 -06:00
Ben Bader d940d78efb
Upgrade to kotlin 1.6.10 (#463) 2022-01-20 16:52:41 -07:00
Ben Bader 84e37870cb
Bump to Kotlin 1.5.32 (#462) 2022-01-18 12:00:33 -07:00
Ben Bader 7bdb221058
Replace subprojects/allprojects with buildSrc and version catalogs (#456) 2021-08-01 21:22:45 -06:00
Ben Bader 80946e248b
Remove the now-redundant thrifty-runtime-ktx (#397)
* Remove the now-redundant thrifty-runtime-ktx

* Add kotlinx-coroutines-core to thrifty-runtime
2020-08-24 16:04:29 -07:00
Ben Bader 8301d617e4
Gradle plugin (#356)
Fixes #323
2020-06-04 23:01:57 -07:00
Ben Bader 3364494579
Kotlin/builderless adapters (#215) 2018-08-07 10:04:27 -07:00
Ben Bader 75067bcbcf
Kotlin codegen (#183) 2018-07-29 20:42:37 -07:00
Ben Bader 32448cb101 Add beginnings of an integration test suite 2016-01-04 19:16:35 -08:00
Ben Bader ad7aecda8e Remove Gradle plugin and touch up README.md 2015-12-22 12:56:06 -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
Ben Bader 346fe012fe Compiler, plugin progress, boilerplate methods, const progress 2015-11-24 17:44:58 -08:00
Ben Bader 9199ba3f0a Great strides 2015-11-09 23:20:51 -08:00
Ben Bader b3f7db29cf Initial commit; thrift grammar compiles. 2015-10-27 22:57:21 -07:00