how to programatically mark generated source folder as Generated Sources Root

637 views Asked by At

I am investigating generating Kotlin code with KotlinPoet

i would like to be able to programatically mark the target directory as "Generated Sources Root"

however i cannot see a KotlinPoet option for this.

is it possible to mark my target directory as "Generated Sources Root" from my generator code?

or do i have to manually configure this using IntelliJ?

or is it possible to configure this from my groovy gradle build file?

0

There are 0 answers