add file modules.gradle

This commit is contained in:
Nitser 2019-09-11 14:59:08 +03:00
parent 311e1cd604
commit a43730a935
1 changed files with 33 additions and 0 deletions

33
modules.gradle Normal file
View File

@ -0,0 +1,33 @@
final String rootDir
//todo remove first if when migrate to Kotlin DSL
if (gradle.ext.has('componentsRoot')) {
rootDir = gradle.ext['componentsRoot']
} else if (ext.has('componentsRoot')) {
rootDir = ext['componentsRoot']
} else {
rootDir = settingsDir
}
include ':logging'
include ':utils'
include ':navigation'
include ':storable'
include ':api-logansquare'
include ':lifecycle'
include ':lifecycle-rx'
include ':views'
include ':recyclerview-adapters'
include ':kotlin-extensions'
include ':templates'
project(':utils').projectDir = new File(rootDir, 'utils')
project(':logging').projectDir = new File(rootDir, 'logging')
project(':navigation').projectDir = new File(rootDir, 'navigation')
project(':storable').projectDir = new File(rootDir, 'storable')
project(':api-logansquare').projectDir = new File(rootDir, 'api-logansquare')
project(':lifecycle').projectDir = new File(rootDir, 'lifecycle')
project(':lifecycle-rx').projectDir = new File(rootDir, 'lifecycle-rx')
project(':views').projectDir = new File(rootDir, 'views')
project(':recyclerview-adapters').projectDir = new File(rootDir, 'recyclerview-adapters')
project(':kotlin-extensions').projectDir = new File(rootDir, 'kotlin-extensions')
project(':templates').projectDir = new File(rootDir, 'templates')