Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit fe33b3b

Browse files
author
Stefan Nothaas
committed
settings: Add development mode
1 parent ab17a26 commit fe33b3b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

settings.gradle

+15
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
rootProject.name = 'dxmon'
22

3+
// Development mode switch
4+
boolean isDevelop = true
5+
6+
// Do not include other builds if this build is included
7+
if (isDevelop && gradle.parent != null) {
8+
return
9+
}
10+
11+
if (isDevelop && new File('../dxutils').exists()) {
12+
includeBuild('../dxutils')
13+
}
14+
15+
if (isDevelop && new File('../dxbuild').exists()) {
16+
includeBuild('../dxbuild')
17+
}

0 commit comments

Comments
 (0)