forked from imgly/cesdk-android-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
44 lines (40 loc) · 1.26 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
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url "https://artifactory.img.ly/artifactory/maven" }
}
}
rootProject.name = "CE.SDK Showcases"
include ':app'
include ':editor-experimental'
include ':editor-core'
include ':editor-core-ui'
include ':editor-base'
include ':editor-apparel'
include ':editor-postcard'
include ':editor-design'
include ':editor'
// Internal use only
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()) {
include ':ubq-android-engine'
project(':ubq-android-engine').projectDir = new File('../../bindings/android')
include ':ubq-android-camera'
project(':ubq-android-camera').projectDir = new File('../cesdk_android_camera')
}
// Internal use only