This message was deleted.
# community-support
s
This message was deleted.
e
easiest hack is to write your code somewhere other than
src/main/java/**
, create a task that copies it with modifications, and add the task to
sourceSets.main.java.srcDir()
. second easiest hack would be similar, but leave the code in
src/main/java/**
and use
sourceSets.main.java.setSrcDirs()
so that it doesn't try looking there in the first place. (this is liable to confuse the IDE, but if that's what you gotta do…)
👍 1