Compile subproject with gradle

How to add gradle subprojects to the gradle build which are located in subfolders near nsight_tegra_build_overrides?
Internet says to declare subprojects in settings.gradle as

include 'OffersSDK'
project(':OffersSDK').projectDir = new File('F:/Work/Svn/demos/pm2/vsandroid/gradle/deps/OffersSDK')

and then use it in nsight_tegra_build_overrides.gradle

	compile project(':OffersSDK')

But that does not seem to work as I get :

Compiling settings file ‘F:\Work\Svn\demos\pm2\vsandroid\Tegra-Android\Release\build\settings.gradle’ using BuildScriptTransformer.
Settings evaluated using empty settings script.

From output console if I copy settings.gradle to \Tegra-Android\Release\build\ manually, otherwise it is not even compiled by gradle and i`m not sure the gradle build uses settings even then. Moreover it seems that gradle script is executed from temp dir F:\Work\Svn\demos\pm2\vsandroid\Tegra-Android\Release\build and compile project method looks for project in the temp dir.

Is there any solution to this?

Found out it is easier to compile dependency as aar and use it instead.