Hi -- i have a question about how code generators ...
# squarelibraries
d
Hi -- i have a question about how code generators work. What all does
projectFiles
encompass? Is it divided up by gradle target?
r
I assume you talk about Anvil?
projectFiles
is a collection of all Kotlin files for this particular compilation unit.
d
yeah, sorry! For Anvil! What exactly is a "compilation unit"?
r
The code that being compiled. With Gradle for example when running
./gradlew :app:assemble
, then it would include all sources within
main
. For
./gradlew :app:test
it would include all sources from
test
.
1