This question is related to Apply same configurations to different tasks
In gradle, I have this piece of configuration:
idea {
module {
excludeDirs -= file("$buildDir/")
sourceDirs += file(generatedSrcDir)
}
}
I have another one for eclipse with same code.
Question:
idea, eclipse {
module {
excludeDirs -= file("$buildDir/")
sourceDirs += file(generatedSrcDir)
}
}
is this possible ?