Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add back writeTo(Filer) and originating element APIs #647
This adds back the
This uses a simpler version of the interface pattern
* Support gradle incremental processing in code gen This adds support for incremental compilation in gradle via incap helper and marking the code gen as `ISOLATING`. Depends on a newer version of KotlinPoet that has square/kotlinpoet#647 Resolves #589 * Opportunistically update to auto-service 1.0-rc5 Supports incremental compilation and moves annotations to a separate artifact * 1.2.0 final! * Mark compiler embeddales as test only
* Initial pass at OriginatingElement interface * Wire in OriginatingElementsHolder to TypeSpec * Remove unnecessary return type * Read nested elements as well in TypeSpec * Add back TestFiler * Opportunistic use idiomatic map assignment * Use kt for source file * Add FakeElement for Element instance testing use * Add back FileSpec.writeTo() with original FileWriting and TypeSpec tests From square@d24e4af * Add List<Element> buildOriginatingElements extension * Add originating elements to FunSpec * Add originating elements to PropertySpec * Add a mixed file to tests * Add toBuilder tests * Don't error on non-originating elements members * Formatting and copyright fixes * Opportunistic add missing copyright to taggable files * Back to 2014 * Revert "Opportunistic add missing copyright to taggable files" This reverts commit 1858c44.