-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
37 lines (33 loc) · 1.28 KB
/
settings.gradle
File metadata and controls
37 lines (33 loc) · 1.28 KB
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
pluginManagement {
buildscript {
repositories {
mavenCentral()
maven { url 'https://storage.googleapis.com/r8-releases/raw' }
}
dependencies {
classpath "com.android.tools:r8:9.1.29"
}
}
}
def isDevelopment = properties['development'].toBoolean()
if (isDevelopment) {
includeBuild('lightsaber') {
dependencySubstitution {
substitute module('com.joom.lightsaber:lightsaber-core') using project(':core')
substitute module('com.joom.lightsaber:lightsaber-core-kotlin') using project(':core-kotlin')
substitute module('com.joom.lightsaber:lightsaber-test') using project(':core-test')
substitute module('com.joom.lightsaber:lightsaber-processor') using project(':processor')
substitute module('com.joom.lightsaber:lightsaber-gradle-plugin') using project(':gradle-plugin')
}
}
}
include ':samples:injection-test'
include ':samples:sample-java'
include ':samples:sample-kotlin'
include ':samples:sample-android-kotlin'
include ':samples:sample-android-library'
include ':samples:sample-kotlin-modular:app'
include ':samples:sample-kotlin-modular:library-contract'
include ':samples:sample-kotlin-modular:library-module'
include ':samples:sample-kotlin-modular:library-component'
include ':samples:sample-kotlin-modular:library-factory'