forked from nimrich/mopub-android-mediation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
45 lines (39 loc) · 1.13 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
41
42
43
44
45
rootProject.name = 'Mediation'
// Adapters
include ':AdColony',
':AdMob',
':AppLovin',
':Chartboost',
':FacebookAudienceNetwork',
':Fyber',
':InMobi',
':IronSource',
':Ogury',
':Mintegral',
':Pangle',
':ReferenceNetwork',
':Tapjoy',
':UnityAds',
':Verizon',
':Vungle',
':SnapAudienceNetwork'
// 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')
}
}