Skip to content

Commit b921a3e

Browse files
committed
Add compiler plugin example to readme
1 parent dfd769c commit b921a3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ Configure compilation
5252

5353
// pass your own instance of an annotation processor
5454
annotationProcessors = listOf(MyAnnotationProcessor())
55+
56+
// pass your own instance of a compiler plugin
57+
compilerPlugins = listOf(MyComponentRegistrar())
5558

5659
inheritClassPath = true
5760
messageOutputStream = System.out // see diagnostics in real time

0 commit comments

Comments
 (0)