-
Notifications
You must be signed in to change notification settings - Fork 118
/
settings.gradle
40 lines (34 loc) · 1.01 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
rootProject.name = 'Mediation'
// Adapters
include ':AdColony',
':AdMob',
':AppLovin',
':Chartboost',
':FacebookAudienceNetwork',
':Flurry',
':IronSource',
':OnebyAOL',
':Tapjoy',
':UnityAds',
':Verizon',
':Vungle'
// Test App
if (file('Testing').exists()) {
include ':Testing'
}
// MoPub SDK
def mopubSdkDir = file('mopub-android').exists() &&
file(".gitmodules").text.contains('[submodule "mopub-android"]') ?
'mopub-android' : 'mopub-android-sdk'
def mopubSdkDirValueFrom = 'settings.gradle file'
if (hasProperty('mopubAndroidSdkDir')) {
mopubSdkDir = mopubAndroidSdkDir
mopubSdkDirValueFrom = 'gradle.properties file (project-level or user-level)'
}
println "Using MoPub Android SDK dir: " + mopubSdkDir
println "as defined by: " + mopubSdkDirValueFrom + "\n"
includeBuild(mopubSdkDir) {
dependencySubstitution {
substitute module('com.mopub:mopub-sdk') with project(':mopub-sdk')
}
}