So I have an XJC javaExec that spins like a top but IntelliJ doesn\'t recognize the generated output despite having marked generated-src/java as such. Do I need to
generated-src/java
The code of this answer, rewritten using Kotlin DSL, will look like this:
plugins { idea } val generatedSourcesPath = file("out/production/classes/generated") java.sourceSets["main"].java.srcDir(generatedSourcesPath) idea { module { generatedSourceDirs.add(generatedSourcesPath) } }