Create a 'generateSources' task that performs all generation tasks

Activity

Show:

Hardy Ferentschik April 4, 2013 at 7:34 PM

Little nervous about generateSources and generateTestJpaMetamodelClasses. Most generateSources operate on production sources, whereas generateTestJpaMetamodelClasses operates on test classes.

I think it is ok to combine them under generateSources. I guess the alternative is to have a generateTestSources as well.

Btw, I did not expect the generateSources would clean first by default.

Steve Ebersole April 4, 2013 at 7:28 PM

Little nervous about generateSources and generateTestJpaMetamodelClasses. Most generateSources operate on production sources, whereas generateTestJpaMetamodelClasses operates on test classes.

Steve Ebersole April 4, 2013 at 7:22 PM

Well, regenerateSources is another idea altogether. generateSources would not "clean" first and given Gradle's up-to-date checking, would therefore probably not happen.

Hardy Ferentschik April 4, 2013 at 7:19 PM

+1 good idea, this way one can re-generate all the generated source with a single target. Might make the build also easier to understand.

Steve Ebersole April 4, 2013 at 7:03 PM

Correct.

Fixed

Details

Assignee

Reporter

Time tracking

0.33h logged

Fix versions

Priority

Created April 4, 2013 at 5:07 PM
Updated May 2, 2013 at 7:08 PM
Resolved April 4, 2013 at 7:31 PM