-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsettings.gradle
63 lines (59 loc) · 1.72 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
name "IMG.LY Artifactory"
url "https://artifactory.img.ly/artifactory/maven"
mavenContent {
includeGroup("ly.img")
}
}
}
}
rootProject.name = "CE.SDK Android Examples"
include ':showcases-app'
include ':catalog-app'
if (file("editor-version-details").exists()) {
include ':editor-version-details'
}
include ':editor-version-details-dummy'
include ':editor-experimental'
include ':editor-core'
include ':editor-core-ui'
include ':editor-base'
include ':editor-apparel'
include ':editor-postcard'
include ':editor-design'
include ':editor-photo'
include ':editor-video'
include ':editor'
include ':camera'
include ':camera-core'
// Internal use only
def ubqRootPath = "../../"
def useLocalEngine = {
def propertiesFile = new File(rootDir, "local.properties")
if (!propertiesFile.exists()) return false
def properties = new Properties()
properties.load(propertiesFile.newDataInputStream())
properties.containsKey("useLocalEngine") && properties.getProperty("useLocalEngine").toBoolean()
}
if (System.getenv("UBQ_USE_LOCAL_ENGINE") == "true" || useLocalEngine()) {
includeBuild("$ubqRootPath/bindings/android") {
name "engine"
dependencySubstitution {
substitute module('ly.img:engine') using project(':engine')
substitute module('ly.img:engine-camera') using project(':engine-camera')
}
}
}
// Internal use only