Skip to content

Commit

Permalink
Added example for producesJavaFor option
Browse files Browse the repository at this point in the history
  • Loading branch information
oehme committed Aug 7, 2014
1 parent 7d8331a commit ee8352f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ xtext {
consumesJava = true
outputs {
DEFAULT_OUTPUT.dir = 'build/heroes'
SIDEKICKS.dir = 'build/sidekicks'
SIDEKICKS {
dir = 'build/sidekicks'
//automatically adds the above folder as a Java source folder for the main sourceSet
producesJavaFor sourceSets.main
}
}
}
Expand Down

0 comments on commit ee8352f

Please sign in to comment.