is there any reason you can’t just do `xeno.setSou...
# gradle
e
is there any reason you can’t just do
xeno.setSourceSets(project.sourceSets.findByName(SourceSet.MAIN_SOURCE_SET_NAME))
x
other than I'm writing in java, and I can't access sourcesets directly on project?
e
you can do project.getSourceSets(), i just have my stuff written in kotlin, so i copy pasted from that
x
that method doesn't actually exist.... I jumped through the code the dsl was calling that's how I found the convention getter