From 23b368342e334991dd60399c45a572b8af641ed6 Mon Sep 17 00:00:00 2001 From: Malik Date: Fri, 16 Aug 2019 13:29:28 +0300 Subject: [PATCH] Add includes in modules and change readme --- README.md | 7 +++++++ modules.gradle | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index efadf3b..1b3a74e 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,13 @@ dependencies { ``` Можно подключать только те модули, которые вам необходимы. +#### settings.gradle (Module: project) + +```gradle +gradle.ext.componentsRoot = "RoboSwag" +apply from: "$gradle.ext.componentsRoot/modules.gradle" +``` + ### R8/Proguard ``` diff --git a/modules.gradle b/modules.gradle index b7d1194..ba5a287 100644 --- a/modules.gradle +++ b/modules.gradle @@ -18,6 +18,8 @@ include ':lifecycle-rx' include ':views' include ':recyclerview-adapters' include ':kotlin-extensions' +include ':recyclerview-calendar' +include ':livedata-location' include ':tabbar-navigation' project(':utils').projectDir = new File(rootDir, 'utils') @@ -30,4 +32,6 @@ 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(':recyclerview-calendar').projectDir = new File(gradle.ext.componentsRoot, 'recyclerview-calendar') +project(':livedata-location').projectDir = new File(gradle.ext.componentsRoot, 'livedata-location') project(':tabbar-navigation').projectDir = new File(rootDir, 'tabbar-navigation')