gradle - Make one source set dependent on another -


i have integration test source set in gradle, , dependent on main classes being compiled. set doing

integrationtestclasses.dependson 'classes' 

is way it, or there way setup dependencies on source sets happens automatically? in configurations block have

integrationtestcompile { extendsfrom testcompile } integrationtestruntime { extendsfrom integrationtestcompile, testruntime } 

what's missing is:

dependencies {     integrationtestcompile sourcesets.main.output } 

with in place, task dependencies should established automatically.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -