Join Slack
Powered by
is there any reason you can’t just do `xeno.setSou...
# gradle
e
Ed M
06/04/2018, 3:47 AM
is there any reason you can’t just do
xeno.setSourceSets(project.sourceSets.findByName(SourceSet.MAIN_SOURCE_SET_NAME))
x
xenoterracide
06/04/2018, 4:05 AM
other than I'm writing in java, and I can't access sourcesets directly on project?
e
Ed M
06/04/2018, 4:55 AM
you can do project.getSourceSets(), i just have my stuff written in kotlin, so i copy pasted from that
x
xenoterracide
06/04/2018, 2:17 PM
that method doesn't actually exist.... I jumped through the code the dsl was calling that's how I found the convention getter
4
Views
Open in Slack
Previous
Next