forked from AndreyPavlenko/Fermata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
28 lines (25 loc) · 1011 Bytes
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
gradle.ext.modules = []
gradle.ext.addonInfo = new StringBuilder(512)
gradle.ext.localProps = new Properties()
gradle.ext.enableGoogleServices = (System.getenv('NO_GS') == null)
&& file('fermata/google-services.json').isFile()
def localPropsFile = file('local.properties')
if (localPropsFile.isFile()) {
gradle.ext.localProps.load(localPropsFile.newDataInputStream())
} else {
gradle.ext.localProps.setProperty('storeFile', file('res/test.ks').absolutePath)
gradle.ext.localProps.setProperty('keyAlias', 'test')
gradle.ext.localProps.setProperty('keyPassword', 'fermata')
gradle.ext.localProps.setProperty('storePassword', 'fermata')
}
rootProject.name = 'Fermata Music Player'
include ':fermata'
include ':utils'
project(':utils').projectDir = file('depends/utils')
file('modules').eachDir {
def name = ':' + it.name
if ((':gdrive' == name) && !gradle.ext.enableGoogleServices) return
gradle.ext.modules.add(name)
include name
project(name).projectDir = it
}